Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: 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_10_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_10_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.001429/0.00143, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001541/0.001542, allocations: 198.3 kB / 16.14 MB, free: 6.797 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.493/1.493, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.836/2.836, allocations: 437 MB / 0.7099 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 67.91 kB / 0.8685 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7513/0.7533, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1658/0.9191, allocations: 133.5 MB / 1.147 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01057/0.9297, allocations: 8.506 MB / 1.155 GB, free: 4.238 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.01e-05/0.9298, allocations: 0 / 1.155 GB, free: 4.238 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.9301, allocations: 23.89 kB / 1.155 GB, free: 4.215 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.062e-05/0.9301, allocations: 15.86 kB / 1.155 GB, free: 4.199 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0034/0.9335, allocations: 1.15 MB / 1.156 GB, free: 3.051 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.9337, allocations: 79.59 kB / 1.156 GB, free: 2.973 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.638e-05/0.9337, allocations: 8 kB / 1.156 GB, free: 2.965 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.9339, allocations: 43.83 kB / 1.157 GB, free: 2.922 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 8.901e-05/0.934, allocations: 35.84 kB / 1.157 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.934, allocations: 0 / 1.157 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004321/0.9383, allocations: 2.653 MB / 1.159 GB, free: 236 kB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.956e-05/0.9384, allocations: 15.97 kB / 1.159 GB, free: 220 kB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 5.34e-05/0.9384, allocations: 27.86 kB / 1.159 GB, free: 192 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001971/0.9404, allocations: 1.38 MB / 1.161 GB, free: 14.8 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.9404, allocations: 0 / 1.161 GB, free: 14.8 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.022e-06/0.9404, allocations: 0 / 1.161 GB, free: 14.8 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.9404, allocations: 8 kB / 1.161 GB, free: 14.8 MB / 0.92 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.001003/0.9414, allocations: 499.1 kB / 1.161 GB, free: 14.26 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.9415, allocations: 12.03 kB / 1.161 GB, free: 14.25 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003677/0.9419, allocations: 20.83 kB / 1.161 GB, free: 14.23 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.942, allocations: 172.3 kB / 1.161 GB, free: 14.02 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.33e-05/0.9421, allocations: 42.25 kB / 1.161 GB, free: 13.98 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.9421, allocations: 7.938 kB / 1.161 GB, free: 13.97 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003689/0.9425, allocations: 117.6 kB / 1.161 GB, free: 13.85 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.9425, allocations: 4 kB / 1.161 GB, free: 13.84 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.9425, allocations: 0 / 1.161 GB, free: 13.84 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.9425, allocations: 0 / 1.161 GB, free: 13.84 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003023/0.9428, allocations: 123.8 kB / 1.162 GB, free: 13.72 MB / 0.92 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.0005905/0.9435, allocations: 376.1 kB / 1.162 GB, free: 13.29 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.9437, allocations: 134.6 kB / 1.162 GB, free: 13.15 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.463e-05/0.9438, allocations: 48.84 kB / 1.162 GB, free: 13.1 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01154/0.9554, allocations: 4.199 MB / 1.166 GB, free: 8.586 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.166e-05/0.9555, allocations: 38.5 kB / 1.166 GB, free: 8.539 MB / 0.92 GB Notification: Performance of pre-optimization done (n=13): time 2.464e-06/0.9555, allocations: 4 kB / 1.166 GB, free: 8.535 MB / 0.92 GB Notification: Performance of matching and sorting (n=13): time 0.0006095/0.9561, allocations: 164.4 kB / 1.166 GB, free: 8.371 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.9562, allocations: 51.41 kB / 1.166 GB, free: 8.309 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.469e-05/0.9563, allocations: 101.8 kB / 1.166 GB, free: 8.199 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.9563, allocations: 29.7 kB / 1.167 GB, free: 8.164 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.213e-05/0.9564, allocations: 80.14 kB / 1.167 GB, free: 8.082 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.725e-05/0.9564, allocations: 51.42 kB / 1.167 GB, free: 8.031 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.456e-05/0.9565, allocations: 25.7 kB / 1.167 GB, free: 8 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.9566, allocations: 326.8 kB / 1.167 GB, free: 7.672 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.432e-05/0.9567, allocations: 23.98 kB / 1.167 GB, free: 7.648 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.588e-05/0.9568, allocations: 35.92 kB / 1.167 GB, free: 7.613 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.9569, allocations: 68.78 kB / 1.167 GB, free: 7.543 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.9569, allocations: 0 / 1.167 GB, free: 7.543 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001978/0.9571, allocations: 105.6 kB / 1.167 GB, free: 7.434 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.9571, allocations: 9.562 kB / 1.167 GB, free: 7.426 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.9571, allocations: 0 / 1.167 GB, free: 7.426 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.9572, allocations: 0 / 1.167 GB, free: 7.426 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.9573, allocations: 23.92 kB / 1.167 GB, free: 7.402 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.9573, allocations: 4 kB / 1.167 GB, free: 7.398 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.352e-05/0.9574, allocations: 15.84 kB / 1.167 GB, free: 7.383 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.9574, allocations: 4 kB / 1.167 GB, free: 7.379 MB / 0.92 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.975e-05/0.9575, allocations: 109.8 kB / 1.167 GB, free: 7.262 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.514e-05/0.9576, allocations: 11.89 kB / 1.167 GB, free: 7.25 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005509/0.9581, allocations: 367.8 kB / 1.168 GB, free: 6.891 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.9582, allocations: 11.92 kB / 1.168 GB, free: 6.879 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.9582, allocations: 0 / 1.168 GB, free: 6.879 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.9582, allocations: 3.938 kB / 1.168 GB, free: 6.875 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003512/0.9585, allocations: 277.4 kB / 1.168 GB, free: 6.555 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.9586, allocations: 0 / 1.168 GB, free: 6.555 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.9587, allocations: 23.98 kB / 1.168 GB, free: 6.531 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.9587, allocations: 4 kB / 1.168 GB, free: 6.527 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.9587, allocations: 3.984 kB / 1.168 GB, free: 6.523 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.9587, allocations: 8 kB / 1.168 GB, free: 6.516 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.9587, allocations: 0 / 1.168 GB, free: 6.516 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000428/0.9591, allocations: 338.8 kB / 1.168 GB, free: 6.168 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.9593, allocations: 104.8 kB / 1.168 GB, free: 6.047 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.9593, allocations: 4 kB / 1.168 GB, free: 6.043 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.9595, allocations: 4 kB / 1.168 GB, free: 6.039 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.9595, allocations: 11.98 kB / 1.168 GB, free: 6.027 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.9595, allocations: 11.94 kB / 1.168 GB, free: 6.016 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.634e-05/0.9596, allocations: 83.27 kB / 1.169 GB, free: 5.934 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9596, allocations: 0 / 1.169 GB, free: 5.934 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001067/0.9607, allocations: 299.9 kB / 1.169 GB, free: 5.641 MB / 0.92 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.001413/0.9621, allocations: 400.8 kB / 1.169 GB, free: 5.242 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002707/0.9624, allocations: 122.6 kB / 1.169 GB, free: 5.125 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.9624, allocations: 4 kB / 1.169 GB, free: 5.121 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.9625, allocations: 111.9 kB / 1.169 GB, free: 5.012 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.9629, allocations: 21.7 kB / 1.169 GB, free: 4.992 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006177/0.9635, allocations: 370.2 kB / 1.17 GB, free: 4.602 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.9639, allocations: 0.7169 MB / 1.171 GB, free: 3.859 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001231/0.964, allocations: 28.34 kB / 1.171 GB, free: 3.832 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.964, allocations: 23.44 kB / 1.171 GB, free: 3.809 MB / 0.92 GB Notification: Performance of SimCode: time 1.854e-06/0.964, allocations: 0 / 1.171 GB, free: 3.809 MB / 0.92 GB Notification: Performance of Templates: time 0.01644/0.9805, allocations: 9.74 MB / 1.18 GB, free: 10.06 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches