-
Notifications
You must be signed in to change notification settings - Fork 236
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
Demo Flowsheet Test Failures #1198
Comments
@bpaul4 & @MarcusHolly could you take a look to see if this is still an issue? |
I am seeing some failures locally when I run these tests (these started failing in the past few days, and I am not sure why). |
@andrewlee94 To run these tests locally, do we run |
@MarcusHolly This shouldn't need you to build anything unless you are attempting to run the tests locally on different platforms (in which case I have no idea how to do it properly). The better place to start would be to apply the DiagnosticsToolbox to the model and see what it comes up with first. If the problem is numeric, then it shouldn't matter what system you run it on - the issues will be the same across all systems but different systems might react differently to those issues. |
@andrewlee94 My tests are passing locally when I run them (Python 3.10.12; pytest-7.4.0; pluggy-1.2.0). However, when I copy these files over to a different environment (Python 3.8.13; pytest-7.1.3; pluggy-1.0.0), I'm getting an InitializationError. Is this what you're seeing locally as well? If so, I can work on resolving this. According to the DiagnosticsToolbox, the only issue is two of the mole fracs being set at its upper bound (1). After resolving this, I still get no failures in my first environment and the same failures in my second environment... |
I get two tests fail - the initialization test and the subsequent solve_flowsheet test. The error I see is:
For the diagnostics, how many numerical cautions do you get (there might not be any warnings, but a lot of cautions is also a bad sign)? Also, make sure you run the tools on the failed initialization to see what it tells you then. |
Completed via #1266. |
There are some demo flowsheet test failures on RHEL7 see https://github.com/IDAES/idaes-ext/actions/runs/5212024395/jobs/9405076893.
The text was updated successfully, but these errors were encountered: