-
Notifications
You must be signed in to change notification settings - Fork 17
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
BOPTEST: bestest_air, white space and sematic model missing annotations #251
Comments
@EttoreZ This is a bit weird, but I tried replicating this on my machine and with/without whitespaces I did not get any error and I was able to generate the semantic model. Can you give some more details about your environment? |
Adding similar issues faced by Lazlo: Having a similar error with multizone_simple_office_air on fork: https://github.com/anandkp92/project1-boptest/tree/issue591_semantics/testcases/multizone_office_simple_air The error is:
After changing to the directory testcases/multizone_simple_office_air/models run the following command
|
Hey Anand. Sorry I did not see this reply before, sure:
Let me know if you want me to test anything with a different version of modelica-json |
This issue reports problems found when trying to postprocess BOPTEST
bestest_air
model using modelica-json to extrapolate semantic model from Modelica annotations. Two issues were found:To reproduce both errors go BOPTEST folder in terminal
project1-boptest/testcases/bestest_air/models
and run node$MODELICAJSONPATH/app.js -f BESTESTAir/TestCases/TestCase_Ideal.mo -o semantic -m modelica -d m2j_output
. BOPTEST reference branch issue591For error 1. Before running command remove white space in ‘BESTESTAir.TestCases.TestCase_Ideal.mo’ metadataLanguage declaration (see screenshot)
This is the resulting error:
For error 2. When .ttl file is generate two annotations are missing, one for the zone temperature
BESTESTAir.BaseClasses.Case600FF.reaTRooAir
and one for the zone CO2BESTESTAir.BaseClasses.Case600FF.reaCO2RooAir
. Reason unclear, only difference from other annotations is the level of nesting (Annotation is 2 levels deep instead of 1 level deep compared to starting model).The text was updated successfully, but these errors were encountered: