modelica / ModelicaStandardLibrary

Free (standard conforming) library to model mechanical (1D/3D), electrical (analog, digital, machines), magnetic, thermal, fluid, control systems and hierarchical state machines. Also numerical functions and functions for strings, files and streams are included.
https://doc.modelica.org
BSD 3-Clause "New" or "Revised" License
479 stars 169 forks source link

MSL 4.1.0 Regressions - Fluid #4335

Open GallLeo opened 8 months ago

GallLeo commented 8 months ago

The following models fail in result comparison. Tested revision: f9bddf86 (2024-02-16)

Changed models, need reference update after library officer check:


Useful Links

_Current comparison report: https://www.ltx.de/download/MA/Compare_MSL_v4.1.0/comparison_report_overview.html -> Reference result test -> Comparison_

Comparison signal definitions: https://github.com/modelica/ModelicaStandardLibrary/tree/master/Modelica/Resources/Reference/Modelica https://github.com/modelica/ModelicaStandardLibrary/tree/master/ModelicaTest/Resources/Reference/ModelicaTest

_Reference results: https://github.com/modelica/MAP-LIB_ReferenceResults_

Esther-Devakirubai commented 3 months ago

Backported #4427 to maintenance branch by #4449

GallLeo commented 3 weeks ago

Currently simulation fails for: ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank

Maybe also because of tighter tolerance? Did not investigate, yet.

Failed condition: tank.medium.T >= 272.15 and tank.medium.T <= 403.15

See simulation log and setup, here: https://www.ltx.de/download/MA/Compare_MSL_v4.1.0/Testruns/Dymola/ModelicaTest/_report/ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank/testcase_report.html

GallLeo commented 3 weeks ago

ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances did not indicate " @GallLeo please generate reference file."

But, according to the analysis, I also updated the reference. Is that OK @casella?

casella commented 3 weeks ago

ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances did not indicate " @GallLeo please generate reference file."

But, according to the analysis, I also updated the reference. Is that OK @casella?

Yes, we obviously overlooked that. I edited the analysis adding the request a posteriori. Thanks!

casella commented 3 weeks ago

Currently simulation fails for: ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank

This also happens with OpenModelica, see simulation log.

Failed condition: tank.medium.T >= 272.15 and tank.medium.T <= 403.15

Same for OMC

See simulation log and setup, here: https://www.ltx.de/download/MA/Compare_MSL_v4.1.0/Testruns/Dymola/ModelicaTest/_report/ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank/testcase_report.html

The link is unfortunately broken, this is what I get immagine

casella commented 3 weeks ago

We also have issues with Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls. This has been known for a while, see #4312.