Skip to content
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

Using OpenModelica and Converting to MSL4 #422

Open
dhblum opened this issue May 4, 2022 · 4 comments
Open

Using OpenModelica and Converting to MSL4 #422

dhblum opened this issue May 4, 2022 · 4 comments
Assignees

Comments

@dhblum
Copy link
Collaborator

dhblum commented May 4, 2022

Since JModelica is no longer supported open source, this issue is to track the progress of being able to compile and simulate BOPTEST test case FMUs with OpenModelica. In addition, with the update of primary dependent Modelica libraries (Buildings and IDEAS) to use MSL4, this issue will also convert test cases to be compatible with MSL4 while compiling with OpenModelica. Note that compilation and simulation coverage of Buildings and IDEAS by OpenModelica is still an ongoing task in and of itself. Therefore, the testing within this issue will hope to contribute to those efforts, while also understanding any problems encountered may not be the fault of the test case implementation itself.

To be done also in coordination with #526.

@dhblum
Copy link
Collaborator Author

dhblum commented May 4, 2022

Branch: https://github.com/ibpsa/project1-boptest/tree/issue422_om_msl4
Ubuntu 18.04 x 64
Last used OpenModelica version: 1.20.0~dev-13-g85ae74c
Dymola Version 2021
Modelica Standard Library version: 4.0.0
Buildings master commit: ef6ffe5b3bc001446961d39be21d7d77ceedb767 (development to v9.0.0)
IDEAS master commit: da384ee62213f621c7ea344abb030fb0e679ee50
All solvers are cvode with tol 1e-6
x = confirmed
0 = error or problem
empty = not tried

TestCase Compile Dymola and/or Impact Simulate Dymola and/or Impact Compile OMEdit Simulate OMEdit OM FMU Compile OM FMU Simulate in pyfmi
bestest_air x x x x x x
bestest_hydronic x x x x x x
bestest_hydronic_heat_pump x x x x x 0
singlezone_commercial_hydronic x x x x x x
multizone_residential_hydronic x x x 0
multizone_office_simple_air 0
twozone_apartment_hydronic
multizone_office_simple_hydronic (not in repo yet) x x

@dhblum
Copy link
Collaborator Author

dhblum commented Feb 2, 2023

New chart:

Branch: https://github.com/ibpsa/project1-boptest/tree/issue422_om_msl4
Ubuntu 18.04 x 64
Last used OpenModelica version: 1.21.0~dev-223-g149deda
Dymola Version 2022
Modelica Standard Library version: 4.0.0
Buildings v9.1.0
IDEAS v3.0
All solvers are cvode with tol 1e-6
x = confirmed
0 = error or problem
empty = not tried

TestCase Compile Dymola Simulate Dymola Compile OMEdit Simulate OMEdit OM FMU Compile OM FMU Simulate in pyfmi
bestest_air x x x x x x
bestest_hydronic x x x x x x
bestest_hydronic_heat_pump x x x x x 0
singlezone_commercial_hydronic x x x 0 x 0
multizone_residential_hydronic x x x 0 0
multizone_office_simple_air
twozone_apartment_hydronic x x 0
multizone_office_simple_hydronic (not in repo yet, see #465, using above versions) 0 0
multizone_office_simple_hydronic (not in repo yet, see #465, using library_versions.json) 0 x x x 0

@dhblum
Copy link
Collaborator Author

dhblum commented Mar 19, 2023

parsing/parser.py has the option of using OpenModelica as test case fmu compiler, or optionally JModelica, here: https://github.com/ibpsa/project1-boptest/blob/issue422_om_msl4/parsing/parser.py.

FYI @JavierArroyoBastida

@dhblum
Copy link
Collaborator Author

dhblum commented Feb 6, 2024

@EttoreZ Added you as assigned on this issue given our discussions for you to help pick it up again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants