-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MSL 4.1.0 Regressions - Media #4339
Comments
I had a quick look at these, and all of them look to me like "valid" changes: below numerical accuracy, or based on fixes to the test models |
As far as I can see, the issue should be closed, all done |
There seem to be correctness errors in the report for these?
Reopening for clarification. |
@maltelenz in the report you cite I see all green for those three models. Which errors are you referring to? |
Sorry, I was looking at the wrong Essotherm650 😅 |
As warned about in #4238 , I am seeing (small) regressions for
I confirmed that reverting #4238 "fixed" the regression. I propose that we ask LTX to replace the reference result. @casella, do you agree? |
Confirmed, |
@casella this is waiting for your decision, see my previous comment. |
Sound good to me; even though the difference is neglible for all practical purposes, there is indeed no point at keeping the old one. @GallLeo, @MatthiasBSchaefer can you please take care of that? Thanks! |
he following models fail in result comparison.
Tested revision: f9bddf8 (2024-02-16)
Changed models, need reference update after library officer check:
- Reason: err_h_is is included in the reference file, but it shouldn't, it makes no sense to do regression on relative errors, they are just meant for the assert statments. Action: remove
err_T
,err_d
,err_u
,err_h_is
from thereference.txt
file, see PR Remove error signals from MoistAir Tests #4430.- Updated reference files?
- Reason: the reference file is badly wrong at time = 0.4014, all variables in the reference file have bogus values like -1.8e98. Simulation of the model with Dymola 2024 x and OMC 1.24.0-dev.123 gives no such bogus values. Action: re-generate the files, but then quickly check that the values far from 0.401 are still the same.
- Updated reference files? @GallLeo please generate new reference files
- Reason: bogus pressure values at 1000101325 Pa, should be 1101325. Not sure how these values managed to survive for so long. Action: re-generate the result files
- Updated reference files? @GallLeo plese generate new reference files
- Reason: bogus pressure values at 1000101325 Pa, should be 1101325. Not sure how these values managed to survive for so long. Action: re-generate the result files
- Updated reference files? @GallLeo plese generate new reference files
- Reason: bogus pressure values at 1000101325 Pa, should be 1101325. Not sure how these values managed to survive for so long. Action: re-generate the result files
- Updated reference files? @GallLeo plese generate new reference files
- Reason: bogus pressure values at 1000101325 Pa, should be 1101325. Not sure how these values managed to survive for so long. Action: re-generate the result files
- Updated reference files? @GallLeo plese generate new reference files
- Reason: bogus pressure values at 1000101325 Pa, should be 1101325. Not sure how these values managed to survive for so long. Action: re-generate the result files
- Updated reference files? @GallLeo plese generate new reference files
- Reason: bogus pressure values at 1000101325 Pa, should be 1101325. Not sure how these values managed to survive for so long. Action: re-generate the result files
- Updated reference files? @GallLeo plese generate new reference files
- Reason: bogus pressure values at 1000101325 Pa, should be 1101325. Not sure how these values managed to survive for so long. Action: re-generate the result files
- Updated reference files? @GallLeo plese generate new reference files
- Reason: bogus pressure values at 1000101325 Pa, should be 1101325. Not sure how these values managed to survive for so long. Action: re-generate the result files
- Updated reference files? @GallLeo plese generate new reference files
- Reason: bogus pressure values at 1000101325 Pa, should be 1101325. Not sure how these values managed to survive for so long. Action: re-generate the result files
- Updated reference files? @GallLeo plese generate new reference files
- Reason: bogus pressure values at 1000101325 Pa, should be 1101325. Not sure how these values managed to survive for so long. Action: re-generate the result files
- Updated reference files? @GallLeo plese generate new reference files
- Reason: pipe model in 4.0.0 had dp_nom = 1e9, resulting in very high hydraulic resistance of the pipe (which makes non sense). 4.1.0 has 1e6, which is OK. The change seems reasonable, but we need to figure out when and where it happened to close the issue. Started from this commit e4b6871 to restore removed models which was then fixed by @hubertus65 in Update ModelicaTest/Media.mo: Reduce dp_nominal in TestsWithFluid.Components.PartialTestModel by a factor of 1000 #3918.
- Updated reference files? @GallLeo plese generate new reference files
- Reason: pipe model in 4.0.0 had dp_nom = 1e9, resulting in very high hydraulic resistance of the pipe (which makes non sense). 4.1.0 has 1e6, which is OK. The change seems reasonable, but we need to figure out when and where it happened to close the issue. Started from this commit e4b6871 to restore removed models which was then fixed by @hubertus65 in Update ModelicaTest/Media.mo: Reduce dp_nominal in TestsWithFluid.Components.PartialTestModel by a factor of 1000 #3918.
- Updated reference files? @GallLeo plese generate new reference files
- Reason: pipe model in 4.0.0 had dp_nom = 1e9, resulting in very high hydraulic resistance of the pipe (which makes non sense). 4.1.0 has 1e6, which is OK. The change seems reasonable, but we need to figure out when and where it happened to close the issue. Started from this commit e4b6871 to restore removed models which was then fixed by @hubertus65 in Update ModelicaTest/Media.mo: Reduce dp_nominal in TestsWithFluid.Components.PartialTestModel by a factor of 1000 #3918.
- Updated reference files? @GallLeo plese generate new reference files
Change due to new Dymola version (reference update after library officer check?):
ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir
- Reason: Verification failures with
err_T
,err_d
,err_u
. Signals likeerr_T
is included in the reference file, but it shouldn't, it makes no sense to do regression on relative errors, they are just meant for the assert statments. Action: removeerr_T
,err_d
,err_u
,err_h_is
from thereference.txt
file, see PR Remove error signals from MoistAir Tests #4430.- Updated reference files?
Release notes check: Are all classes mentioned which could lead to result changes in user models?
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
The text was updated successfully, but these errors were encountered: