Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_9_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_9_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 197.7 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.375/2.375, allocations: 390.3 MB / 0.6647 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 55.91 kB / 0.8126 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6709/0.6726, allocations: 140.4 MB / 0.9497 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1498/0.8225, allocations: 135.6 MB / 1.082 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01064/0.8332, allocations: 7.931 MB / 1.09 GB, free: 1.719 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.377e-05/0.8333, allocations: 0 / 1.09 GB, free: 1.719 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002363/0.8335, allocations: 23.83 kB / 1.09 GB, free: 1.695 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.8337, allocations: 19.84 kB / 1.09 GB, free: 1.676 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005146/0.8389, allocations: 1.461 MB / 1.091 GB, free: 224 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00019/0.8391, allocations: 83.56 kB / 1.091 GB, free: 140 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.457e-05/0.8392, allocations: 4 kB / 1.091 GB, free: 136 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.8394, allocations: 43.84 kB / 1.091 GB, free: 92 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.8395, allocations: 35.84 kB / 1.091 GB, free: 56 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.8395, allocations: 4 kB / 1.091 GB, free: 52 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005215/0.8447, allocations: 2.641 MB / 1.094 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.885e-05/0.8448, allocations: 15.97 kB / 1.094 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.69e-05/0.8449, allocations: 31.86 kB / 1.094 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002961/0.8479, allocations: 1.38 MB / 1.095 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.8479, allocations: 0 / 1.095 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.82e-07/0.8479, allocations: 0 / 1.095 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.8479, allocations: 4 kB / 1.095 GB, free: 11.97 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001416/0.8493, allocations: 0.4913 MB / 1.096 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.8494, allocations: 12.03 kB / 1.096 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.007e-05/0.8495, allocations: 38.73 kB / 1.096 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004679/0.8499, allocations: 28.83 kB / 1.096 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.8501, allocations: 172.3 kB / 1.096 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.028e-05/0.8502, allocations: 41.95 kB / 1.096 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.8502, allocations: 4 kB / 1.096 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005074/0.8507, allocations: 117.6 kB / 1.096 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.8507, allocations: 0 / 1.096 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.8508, allocations: 4 kB / 1.096 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.8508, allocations: 7.984 kB / 1.096 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003077/0.8511, allocations: 111.9 kB / 1.096 GB, free: 10.85 MB / 0.8575 GB 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. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005747/0.8517, allocations: 380 kB / 1.097 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.852, allocations: 126.5 kB / 1.097 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.404e-05/0.8521, allocations: 52.84 kB / 1.097 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01218/0.8642, allocations: 4.203 MB / 1.101 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/0.8643, allocations: 38.56 kB / 1.101 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 2.204e-06/0.8643, allocations: 0 / 1.101 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005763/0.8649, allocations: 161.5 kB / 1.101 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.865, allocations: 59.34 kB / 1.101 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.785e-05/0.8651, allocations: 105.8 kB / 1.101 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.8651, allocations: 25.7 kB / 1.101 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/0.8651, allocations: 84.14 kB / 1.102 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.019e-05/0.8652, allocations: 51.38 kB / 1.102 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.453e-05/0.8653, allocations: 29.7 kB / 1.102 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.8654, allocations: 318.8 kB / 1.102 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.248e-05/0.8654, allocations: 27.98 kB / 1.102 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.87e-05/0.8655, allocations: 27.98 kB / 1.102 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.8656, allocations: 65.84 kB / 1.102 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.8656, allocations: 4 kB / 1.102 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002017/0.8658, allocations: 107.2 kB / 1.102 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.8659, allocations: 4 kB / 1.102 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.8659, allocations: 0 / 1.102 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.8659, allocations: 0 / 1.102 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.866, allocations: 27.98 kB / 1.102 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.8661, allocations: 0 / 1.102 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.465e-05/0.8661, allocations: 7.844 kB / 1.102 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.8661, allocations: 8 kB / 1.102 GB, free: 4.508 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.532e-05/0.8662, allocations: 117.8 kB / 1.102 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.73e-05/0.8663, allocations: 7.984 kB / 1.102 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004735/0.8668, allocations: 371.6 kB / 1.103 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.8668, allocations: 11.98 kB / 1.103 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.8668, allocations: 0 / 1.103 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.8668, allocations: 3.938 kB / 1.103 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002967/0.8671, allocations: 277.4 kB / 1.103 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.8672, allocations: 4 kB / 1.103 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.8673, allocations: 19.98 kB / 1.103 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.8673, allocations: 4.125 kB / 1.103 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.8673, allocations: 15.98 kB / 1.103 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.8673, allocations: 4 kB / 1.103 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.8673, allocations: 0 / 1.103 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.8677, allocations: 333.4 kB / 1.103 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.968e-05/0.8678, allocations: 104.8 kB / 1.103 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.8678, allocations: 4 kB / 1.103 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.868, allocations: 4 kB / 1.103 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.73e-05/0.868, allocations: 19.92 kB / 1.103 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.868, allocations: 7.984 kB / 1.103 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.003e-05/0.8681, allocations: 83.22 kB / 1.104 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.743e-06/0.8681, allocations: 0 / 1.104 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009813/0.8691, allocations: 303.9 kB / 1.104 GB, free: 2.746 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002174/0.8712, allocations: 1.142 MB / 1.105 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002648/0.8715, allocations: 139.9 kB / 1.105 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8715, allocations: 0 / 1.105 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.8717, allocations: 107.9 kB / 1.105 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.872, allocations: 25.48 kB / 1.105 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.8731, allocations: 426.1 kB / 1.106 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.8735, allocations: 0.7127 MB / 1.106 GB, free: 120 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001281/0.8736, allocations: 32.28 kB / 1.106 GB, free: 88 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.179e-05/0.8737, allocations: 43.36 kB / 1.106 GB, free: 44 kB / 0.8575 GB Notification: Performance of SimCode: time 4.6e-07/0.8737, allocations: 0 / 1.106 GB, free: 44 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04175/0.9154, allocations: 11.62 MB / 1.118 GB, free: 4.496 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.69/8.605, allocations: 13.75 kB / 1.118 GB, free: 4.484 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches