Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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: translateModel(Buildings.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck") translateModel(Buildings.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006117/0.006117, allocations: 101.5 kB / 15.88 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 189.4 kB / 16.79 MB, free: 5.809 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.35/1.35, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.665/2.665, allocations: 461.9 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 64.17 kB / 0.899 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2988, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.142/0.4409, allocations: 133.5 MB / 1.183 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009663/0.4506, allocations: 8.491 MB / 1.191 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.781e-05/0.4506, allocations: 8 kB / 1.191 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001761/0.4508, allocations: 19.89 kB / 1.191 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.76e-05/0.4509, allocations: 15.89 kB / 1.191 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00316/0.4541, allocations: 1.155 MB / 1.193 GB, free: 8.598 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.4542, allocations: 71.7 kB / 1.193 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.4543, allocations: 4 kB / 1.193 GB, free: 8.523 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.4544, allocations: 43.83 kB / 1.193 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.151e-05/0.4545, allocations: 35.84 kB / 1.193 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.4545, allocations: 4 kB / 1.193 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004487/0.459, allocations: 2.653 MB / 1.195 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.608e-05/0.4591, allocations: 11.94 kB / 1.195 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.302e-05/0.4591, allocations: 43.78 kB / 1.195 GB, free: 5.73 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001347/0.4605, allocations: 0.9162 MB / 1.196 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4605, allocations: 0 / 1.196 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.305e-06/0.4605, allocations: 0 / 1.196 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.4605, allocations: 3.938 kB / 1.196 GB, free: 4.809 MB / 0.9512 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.001138/0.4617, allocations: 499.3 kB / 1.197 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.4617, allocations: 11.97 kB / 1.197 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003921/0.4621, allocations: 28.83 kB / 1.197 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.4622, allocations: 168.3 kB / 1.197 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.198e-05/0.4623, allocations: 34.27 kB / 1.197 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.4624, allocations: 7.938 kB / 1.197 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003835/0.4627, allocations: 126.9 kB / 1.197 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.4628, allocations: 3.938 kB / 1.197 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.4628, allocations: 4 kB / 1.197 GB, free: 3.848 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.4628, allocations: 4 kB / 1.197 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002978/0.4631, allocations: 115.9 kB / 1.197 GB, free: 3.73 MB / 0.9512 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.0005091/0.4636, allocations: 384 kB / 1.198 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.4639, allocations: 122.6 kB / 1.198 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.98e-05/0.464, allocations: 56.81 kB / 1.198 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01064/0.4746, allocations: 4.199 MB / 1.202 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.4747, allocations: 30.56 kB / 1.202 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.4747, allocations: 4 kB / 1.202 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0005092/0.4752, allocations: 161.5 kB / 1.202 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.4752, allocations: 55.41 kB / 1.202 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.929e-05/0.4753, allocations: 101.8 kB / 1.202 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.4754, allocations: 25.7 kB / 1.202 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.412e-05/0.4754, allocations: 92.12 kB / 1.202 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.147e-05/0.4755, allocations: 47.39 kB / 1.202 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-05/0.4756, allocations: 29.7 kB / 1.202 GB, free: 14 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.853e-05/0.4757, allocations: 322.8 kB / 1.203 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.751e-05/0.4757, allocations: 27.98 kB / 1.203 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.732e-05/0.4758, allocations: 27.98 kB / 1.203 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.4759, allocations: 62.86 kB / 1.203 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4759, allocations: 0 / 1.203 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000179/0.4761, allocations: 109.7 kB / 1.203 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.4761, allocations: 4 kB / 1.203 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.4761, allocations: 0 / 1.203 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.4761, allocations: 0 / 1.203 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.4763, allocations: 27.92 kB / 1.203 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.4763, allocations: 3.938 kB / 1.203 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.17e-05/0.4763, allocations: 7.844 kB / 1.203 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.4763, allocations: 11.98 kB / 1.203 GB, free: 13.39 MB / 0.9669 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 7.902e-05/0.4764, allocations: 113.8 kB / 1.203 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.4765, allocations: 11.91 kB / 1.203 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004289/0.4769, allocations: 371.6 kB / 1.203 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.4769, allocations: 8 kB / 1.203 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.477, allocations: 0 / 1.203 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.477, allocations: 7.922 kB / 1.203 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/0.4773, allocations: 277.4 kB / 1.204 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4773, allocations: 3.938 kB / 1.204 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.4774, allocations: 23.98 kB / 1.204 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.4774, allocations: 0 / 1.204 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.4774, allocations: 4 kB / 1.204 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.4774, allocations: 0 / 1.204 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.4774, allocations: 4 kB / 1.204 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/0.4778, allocations: 330.9 kB / 1.204 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.311e-05/0.4779, allocations: 112.8 kB / 1.204 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.4779, allocations: 4 kB / 1.204 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.478, allocations: 7.984 kB / 1.204 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.758e-05/0.4781, allocations: 7.984 kB / 1.204 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.4781, allocations: 11.94 kB / 1.204 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.612e-05/0.4781, allocations: 79.28 kB / 1.204 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.9e-07/0.4781, allocations: 0 / 1.204 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000894/0.479, allocations: 299.9 kB / 1.205 GB, free: 11.65 MB / 0.9669 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.001443/0.4805, allocations: 399.2 kB / 1.205 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002141/0.4807, allocations: 142.1 kB / 1.205 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4807, allocations: 0 / 1.205 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.4808, allocations: 111.9 kB / 1.205 GB, free: 11 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.4812, allocations: 16 kB / 1.205 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005237/0.4817, allocations: 400 kB / 1.206 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.4819, allocations: 0.713 MB / 1.206 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/0.482, allocations: 23.42 kB / 1.206 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.482, allocations: 0 / 1.206 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of Templates: time 0.01022/0.4922, allocations: 6.747 MB / 1.213 GB, free: 3.051 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches