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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.493/2.493, allocations: 390.3 MB / 405.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 173.9 kB / 498.1 MB, free: 5.672 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.77/1.77, allocations: 223.2 MB / 0.7949 GB, free: 17.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 94.94 kB / 0.9346 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005294/0.0005293, allocations: 10.31 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3957, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.415/2.811, allocations: 0.6899 GB / 1.913 GB, free: 319.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/2.812, allocations: 73.97 kB / 1.913 GB, free: 319.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1482/2.96, allocations: 64.94 MB / 1.976 GB, free: 310.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.763e-06/2.96, allocations: 0 / 1.976 GB, free: 310.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.142e-06/2.96, allocations: 3.938 kB / 1.976 GB, free: 310.6 MB / 1.167 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.001687/2.961, allocations: 0.4898 MB / 1.977 GB, free: 310.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/2.961, allocations: 14.56 kB / 1.977 GB, free: 310.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003825/2.962, allocations: 20.58 kB / 1.977 GB, free: 310.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.67e-05/2.962, allocations: 174 kB / 1.977 GB, free: 310 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.44e-05/2.962, allocations: 31.98 kB / 1.977 GB, free: 310 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/2.962, allocations: 6.969 kB / 1.977 GB, free: 310 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003327/2.962, allocations: 115.4 kB / 1.977 GB, free: 309.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/2.962, allocations: 3.25 kB / 1.977 GB, free: 309.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/2.962, allocations: 7.938 kB / 1.977 GB, free: 309.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/2.962, allocations: 4 kB / 1.977 GB, free: 309.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002669/2.963, allocations: 121 kB / 1.977 GB, free: 309.9 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/2.963, allocations: 330.4 kB / 1.978 GB, free: 309.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/2.963, allocations: 120.5 kB / 1.978 GB, free: 309.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009401/2.973, allocations: 4.161 MB / 1.982 GB, free: 307.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/2.973, allocations: 41.66 kB / 1.982 GB, free: 307.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=13): time 3.016e-06/2.973, allocations: 0 / 1.982 GB, free: 307.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=13): time 0.0004953/2.973, allocations: 168.1 kB / 1.982 GB, free: 307.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/2.973, allocations: 58.59 kB / 1.982 GB, free: 307.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.263e-05/2.973, allocations: 88.84 kB / 1.982 GB, free: 307.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/2.974, allocations: 29.64 kB / 1.982 GB, free: 307.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 3.687e-05/2.974, allocations: 83.83 kB / 1.982 GB, free: 307.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/2.974, allocations: 45.94 kB / 1.982 GB, free: 307.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/2.974, allocations: 3.938 kB / 1.982 GB, free: 307.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.311e-05/2.974, allocations: 318.2 kB / 1.982 GB, free: 307.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.659e-05/2.974, allocations: 21.75 kB / 1.983 GB, free: 307.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.544e-05/2.974, allocations: 25.34 kB / 1.983 GB, free: 307.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.049e-05/2.974, allocations: 38.11 kB / 1.983 GB, free: 307.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/2.974, allocations: 0 / 1.983 GB, free: 307.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001459/2.974, allocations: 108.9 kB / 1.983 GB, free: 307 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/2.974, allocations: 9.234 kB / 1.983 GB, free: 307 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/2.974, allocations: 0 / 1.983 GB, free: 307 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/2.974, allocations: 0 / 1.983 GB, free: 307 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/2.974, allocations: 23.61 kB / 1.983 GB, free: 307 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/2.974, allocations: 0 / 1.983 GB, free: 307 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.546e-05/2.974, allocations: 3.906 kB / 1.983 GB, free: 307 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/2.974, allocations: 7.5 kB / 1.983 GB, free: 307 MB / 1.167 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.114e-05/2.974, allocations: 124.9 kB / 1.983 GB, free: 306.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.812e-05/2.974, allocations: 3.938 kB / 1.983 GB, free: 306.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003683/2.975, allocations: 374.6 kB / 1.983 GB, free: 306.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/2.975, allocations: 11.72 kB / 1.983 GB, free: 306.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/2.975, allocations: 0 / 1.983 GB, free: 306.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/2.975, allocations: 0 / 1.983 GB, free: 306.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/2.975, allocations: 282.4 kB / 1.983 GB, free: 306.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/2.975, allocations: 0 / 1.983 GB, free: 306.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.29e-05/2.975, allocations: 27.42 kB / 1.984 GB, free: 306.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/2.975, allocations: 0 / 1.984 GB, free: 306.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/2.975, allocations: 4 kB / 1.984 GB, free: 306.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/2.975, allocations: 7.172 kB / 1.984 GB, free: 306.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/2.975, allocations: 0 / 1.984 GB, free: 306.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/2.975, allocations: 328.7 kB / 1.984 GB, free: 306.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-05/2.975, allocations: 106.3 kB / 1.984 GB, free: 306.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/2.975, allocations: 3.344 kB / 1.984 GB, free: 306.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/2.976, allocations: 18.48 kB / 1.984 GB, free: 306.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.321e-05/2.976, allocations: 6.938 kB / 1.984 GB, free: 306.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/2.976, allocations: 7.031 kB / 1.984 GB, free: 306.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 2.305e-05/2.976, allocations: 86.34 kB / 1.984 GB, free: 306.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.11e-07/2.976, allocations: 0 / 1.984 GB, free: 306.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001768/2.977, allocations: 346.2 kB / 1.984 GB, free: 306.2 MB / 1.167 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001942/2.979, allocations: 0.8221 MB / 1.985 GB, free: 305.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0002141/2.98, allocations: 124.9 kB / 1.985 GB, free: 305.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/2.98, allocations: 0 / 1.985 GB, free: 305.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 9.278e-05/2.98, allocations: 109 kB / 1.985 GB, free: 305.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/2.98, allocations: 23.17 kB / 1.985 GB, free: 305.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004312/2.98, allocations: 389.1 kB / 1.986 GB, free: 305.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/2.981, allocations: 0.723 MB / 1.987 GB, free: 305 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001087/2.981, allocations: 25.48 kB / 1.987 GB, free: 305 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/2.981, allocations: 17.97 kB / 1.987 GB, free: 305 MB / 1.167 GB Notification: Performance of SimCode: time 3.3e-07/2.981, allocations: 0 / 1.987 GB, free: 305 MB / 1.167 GB Notification: Performance of Templates: time 0.0178/2.999, allocations: 15.47 MB / 2.002 GB, free: 303.7 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile (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 & ./Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","../files/Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches