Skip to content

Failed

tests / 05 testsuite-clang 2/3 / simulation_modelica_initialization.OverdeterminedInitialization.Fluid.DynamicPipeInitialValues.mos (from (result.xml))

Failing for the past 1 build (Since #2 )
Took 7 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + OverdeterminedInitialization.Fluid.DynamicPipeInitialValues                       ... equation mismatch [time: 7]

==== Log /tmp/omc-rtest-omtmpuser/simulation/modelica/initialization/OverdeterminedInitialization.Fluid.DynamicPipeInitialValues.mos_temp5374/log-OverdeterminedInitialization.Fluid.DynamicPipeInitialValues.mos
true
""
true
""
true
""
is no flow -1e5: false
is no flow -1e60: false
is no flow -1e5: false
is no flow -1e60: false
is no flow -1e60: false
is no flow -1e60: false
is no flow -1e60: false
is no flow -1e60: false
is no flow -1e60: false
is no flow -1e60: false
is no flow -1e60: false
is no flow -1e5: false
is no flow -1e5: false
is no flow -1e60: false
record SimulationResult
    resultFile = "OverdeterminedInitialization.Fluid.DynamicPipeInitialValues_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 4.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'OverdeterminedInitialization.Fluid.DynamicPipeInitialValues', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
LOG_SUCCESS       | info    | The simulation finished successfully.
"
end SimulationResult;
"Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Warning: Assuming fixed start value for the following 1 variables:
         m_flow_initial:DISCRETE(unit = \"kg/s\" fixed = true )  type: Real
Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system:
         pipe.mediums[1].p = 1e7.
Warning: Assuming fixed start value for the following 1 variables:
         m_flow_initial:DISCRETE(unit = \"kg/s\" fixed = true )  type: Real
Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system:
         pipe.mediums[1].p = 1e7.
"

Equation mismatch: diff says:
--- /tmp/omc-rtest-omtmpuser/simulation/modelica/initialization/OverdeterminedInitialization.Fluid.DynamicPipeInitialValues.mos_temp5374/equations-expected2024-06-14 13:45:19.170049561 +0000
+++ /tmp/omc-rtest-omtmpuser/simulation/modelica/initialization/OverdeterminedInitialization.Fluid.DynamicPipeInitialValues.mos_temp5374/equations-got2024-06-14 13:45:26.370112643 +0000
@@ -2,22 +2,36 @@
 ""
 true
 ""
 true
 ""
+is no flow -1e5: false
+is no flow -1e60: false
+is no flow -1e5: false
+is no flow -1e60: false
+is no flow -1e60: false
+is no flow -1e60: false
+is no flow -1e60: false
+is no flow -1e60: false
+is no flow -1e60: false
+is no flow -1e60: false
+is no flow -1e60: false
+is no flow -1e5: false
+is no flow -1e5: false
+is no flow -1e60: false
 record SimulationResult
 resultFile = "OverdeterminedInitialization.Fluid.DynamicPipeInitialValues_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 4.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'OverdeterminedInitialization.Fluid.DynamicPipeInitialValues', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+simulationOptions = "startTime = 0.0, stopTime = 4.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'OverdeterminedInitialization.Fluid.DynamicPipeInitialValues', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
 messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
 LOG_SUCCESS       | info    | The simulation finished successfully.
 "
 end SimulationResult;
 "Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
 Warning: Assuming fixed start value for the following 1 variables:
 m_flow_initial:DISCRETE(unit = \"kg/s\" fixed = true )  type: Real
 Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system:
-pipe.mediums[1].p = 10000000.0.
+pipe.mediums[1].p = 1e7.
 Warning: Assuming fixed start value for the following 1 variables:
 m_flow_initial:DISCRETE(unit = \"kg/s\" fixed = true )  type: Real
 Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system:
-pipe.mediums[1].p = 10000000.0.
+pipe.mediums[1].p = 1e7.
 "

Equation mismatch: omc-diff says:
Failed 'r' 'i'
Line 7: Text differs:
expected: record SimulationResult
got:      is no flow 

== 1 out of 1 tests failed [simulation/modelica/initialization/OverdeterminedInitialization.Fluid.DynamicPipeInitialValues.mos_temp5374, time: 7]