-
Notifications
You must be signed in to change notification settings - Fork 50
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
Participation in FMU Cross-Check #739
Comments
Thanks for reminding us. Actually, it has been on my list for quite some time now. I will try to prioritize it. |
@chrbertsch Is there some kind of script to support executing all the tests? I guess not since all importing tools are very different. |
You could use the XC scripts of fmpy as a blueprint: |
See trac ticket 6010 for OpenModelica. |
I did a quick run with a Python script to see what sort of error messages we get. Basically we have three kind of errors
or may not support your platform
See this CSV file for the full list of FMUs with output and error mesages: I will investigate on problem 3. |
And we need to filter and check the result files we generate. |
This is a typical problem of FMUs not following the FMI standard. |
And integer or boolean inputs from a CSV file are apparently a problem if you use a Lua script to define the model.
Feedthrough_in.csv: time,real_tunable_param,real_continuous_in,real_discrete_in,int_in,bool_in
0.0,0,0.0,0,0,0
0.5,0,0.0,0,0,0
0.5,0,2.0,0,0,0
1.0,0,1.0,1,1,1
1.5,-1,1.0,1,1,1
2.0,-1,1.0,1,1,1 |
This is correct, OMSimulator will treat all csv inputs as real. |
TODO ListI will track the progress on this ticket in this comment. Different OS to test
Things to fix for the fmi-cross check:
|
We are now generating results for the FMI Cross Check: https://libraries.openmodelica.org/fmi-crosschecking/OMSimulator/ |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I created a PR for OMSimulator v2.1.1 at modelica/fmi-cross-check#106. Let's see if the FMI cross check can repair it's CI so the PR will be tested eventually. |
@AnHeuermann, @chrbertsch what more do we have to do? OMSimulator is still not listed in the fmi cross-check results. |
@t-sommer: Do you have an idea, why OMsimulator does not get listed after the successful merge of modelica/fmi-cross-check#106? Do you have to trigger a re-generation of the tables? |
@chrbertsch @t-sommer any updates? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information. |
It would be highly beneficial if OMSimulator would participate in the FMI Cross Check https://github.com/modelica/fmi-cross-check. For many tools this has significantly improved the maturity of their FMI support.
The text was updated successfully, but these errors were encountered: