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

in regressiontests, wrong Modelica syntax should cause test to fail #348

Open
mwetter opened this issue Apr 21, 2020 · 0 comments
Open

in regressiontests, wrong Modelica syntax should cause test to fail #348

mwetter opened this issue Apr 21, 2020 · 0 comments
Assignees

Comments

@mwetter
Copy link
Member

mwetter commented Apr 21, 2020

The following command issues only a warning but passes the CI tests:

git checkout 7d19454c6fc00f0fc8738a875f7bbeda56ac4358
cd Buildings
../bin/runUnitTests.py -t optimica -s Buildings.ThermalZones.Detailed.Validation --skip-verification

The warning is

*** Warning: Buildings.ThermalZones.Detailed.Validation.SingleZoneFloorWithHeating: The 'each' keyword should not be applied to a modification of a scalar component: each p = 273.15+10
*** Warning: Buildings.ThermalZones.Detailed.Validation.SingleZoneFloorWithHeating: The 'each' keyword should not be applied to a modification of a scalar component: each k = 20

Number of models with 'each' keyword applied to scalar          : 2

The expected behavior is that the CI test should fail.

@mwetter mwetter self-assigned this Apr 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant