Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 71.75 kB / 20.97 MB, free: 3.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 169 kB / 24.28 MB, free: 280 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.014/1.014, allocations: 177.2 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.82/1.82, allocations: 359 MB / 0.6055 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck") translateModel(Buildings.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.034e-05/3.237e-05, allocations: 3.219 kB / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1232/0.1233, allocations: 131 MB / 0.915 GB, free: 9.363 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.007045/0.1303, allocations: 7.921 MB / 0.9228 GB, free: 1.418 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.947e-05/0.1304, allocations: 4 kB / 0.9228 GB, free: 1.414 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.1306, allocations: 23.89 kB / 0.9228 GB, free: 1.391 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 4.156e-05/0.1307, allocations: 23.78 kB / 0.9228 GB, free: 1.367 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002833/0.1335, allocations: 1.483 MB / 0.9242 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.1336, allocations: 75.64 kB / 0.9243 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 4.572e-05/0.1337, allocations: 0 / 0.9243 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.1338, allocations: 59.81 kB / 0.9244 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 8.408e-05/0.1339, allocations: 31.89 kB / 0.9244 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.1339, allocations: 4 kB / 0.9244 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003104/0.137, allocations: 2.614 MB / 0.927 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 2.629e-05/0.137, allocations: 15.91 kB / 0.927 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 4.232e-05/0.1371, allocations: 27.97 kB / 0.927 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001844/0.1389, allocations: 1.805 MB / 0.9288 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1389, allocations: 0 / 0.9288 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1389, allocations: 0 / 0.9288 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.1389, allocations: 0 / 0.9288 GB, free: 11.24 MB / 0.8855 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.0008933/0.1398, allocations: 0.519 MB / 0.9293 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.1399, allocations: 12.03 kB / 0.9293 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000336/0.1402, allocations: 52.62 kB / 0.9293 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.553e-05/0.1403, allocations: 116.5 kB / 0.9294 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.077e-05/0.1404, allocations: 55.97 kB / 0.9295 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.1404, allocations: 8.375 kB / 0.9295 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002895/0.1407, allocations: 150.7 kB / 0.9297 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.1407, allocations: 0 / 0.9297 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.1407, allocations: 8 kB / 0.9297 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.1407, allocations: 0 / 0.9297 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.1409, allocations: 87.89 kB / 0.9297 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000393/0.1413, allocations: 315.6 kB / 0.93 GB, free: 9.812 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.1415, allocations: 131 kB / 0.9302 GB, free: 9.672 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.242e-05/0.1415, allocations: 47.66 kB / 0.9302 GB, free: 9.621 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005816/0.1474, allocations: 3.047 MB / 0.9332 GB, free: 6.574 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.1474, allocations: 37.39 kB / 0.9332 GB, free: 6.527 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=13): time 1.923e-06/0.1474, allocations: 0 / 0.9332 GB, free: 6.527 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13): time 0.0003743/0.1478, allocations: 161.4 kB / 0.9334 GB, free: 6.363 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.1478, allocations: 55.41 kB / 0.9334 GB, free: 6.297 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.886e-05/0.1479, allocations: 165.9 kB / 0.9336 GB, free: 6.117 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.1479, allocations: 25.7 kB / 0.9336 GB, free: 6.086 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.263e-05/0.1479, allocations: 130.8 kB / 0.9337 GB, free: 5.953 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.148, allocations: 51.58 kB / 0.9338 GB, free: 5.902 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/0.148, allocations: 35.36 kB / 0.9338 GB, free: 5.859 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1481, allocations: 492.1 kB / 0.9343 GB, free: 5.367 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.297e-05/0.1481, allocations: 23.98 kB / 0.9343 GB, free: 5.344 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.772e-05/0.1482, allocations: 19.98 kB / 0.9343 GB, free: 5.324 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.417e-05/0.1482, allocations: 60.98 kB / 0.9344 GB, free: 5.262 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1482, allocations: 0 / 0.9344 GB, free: 5.262 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001323/0.1484, allocations: 114.3 kB / 0.9345 GB, free: 5.145 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1484, allocations: 4 kB / 0.9345 GB, free: 5.141 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1484, allocations: 0 / 0.9345 GB, free: 5.141 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1484, allocations: 4 kB / 0.9345 GB, free: 5.137 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.229e-05/0.1485, allocations: 19.98 kB / 0.9345 GB, free: 5.117 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.1485, allocations: 0 / 0.9345 GB, free: 5.117 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.842e-05/0.1485, allocations: 11.94 kB / 0.9345 GB, free: 5.105 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-06/0.1485, allocations: 0 / 0.9345 GB, free: 5.105 MB / 0.8855 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.275e-05/0.1486, allocations: 172.4 kB / 0.9347 GB, free: 4.926 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.1486, allocations: 7.953 kB / 0.9347 GB, free: 4.918 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002841/0.1489, allocations: 276.1 kB / 0.935 GB, free: 4.641 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/0.1489, allocations: 4 kB / 0.935 GB, free: 4.637 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1489, allocations: 3.984 kB / 0.935 GB, free: 4.633 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.149, allocations: 4 kB / 0.935 GB, free: 4.629 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.1491, allocations: 196.3 kB / 0.9352 GB, free: 4.402 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.1491, allocations: 4 kB / 0.9352 GB, free: 4.398 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.417e-05/0.1492, allocations: 19.98 kB / 0.9352 GB, free: 4.379 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1492, allocations: 4 kB / 0.9352 GB, free: 4.375 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.1492, allocations: 8.172 kB / 0.9352 GB, free: 4.367 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1492, allocations: 3.938 kB / 0.9352 GB, free: 4.363 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1492, allocations: 0 / 0.9352 GB, free: 4.363 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.1494, allocations: 335.7 kB / 0.9355 GB, free: 4.016 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.684e-05/0.1495, allocations: 35.75 kB / 0.9356 GB, free: 3.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.1495, allocations: 8 kB / 0.9356 GB, free: 3.973 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.282e-05/0.1495, allocations: 3.938 kB / 0.9356 GB, free: 3.969 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.068e-05/0.1496, allocations: 7.984 kB / 0.9356 GB, free: 3.961 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.1496, allocations: 11.98 kB / 0.9356 GB, free: 3.949 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.639e-05/0.1496, allocations: 123.2 kB / 0.9357 GB, free: 3.828 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.1496, allocations: 0 / 0.9357 GB, free: 3.828 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006267/0.1502, allocations: 303.7 kB / 0.936 GB, free: 3.531 MB / 0.8855 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.0009332/0.1512, allocations: 444.8 kB / 0.9364 GB, free: 3.086 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001469/0.1513, allocations: 99.58 kB / 0.9365 GB, free: 2.984 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1513, allocations: 0 / 0.9365 GB, free: 2.984 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 7.124e-05/0.1514, allocations: 79.53 kB / 0.9366 GB, free: 2.902 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.1516, allocations: 35.83 kB / 0.9366 GB, free: 2.867 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006888/0.1523, allocations: 293.6 kB / 0.9369 GB, free: 2.559 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.452e-05/0.1524, allocations: 75.84 kB / 0.937 GB, free: 2.465 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.105e-05/0.1525, allocations: 28.41 kB / 0.937 GB, free: 2.438 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.074e-05/0.1525, allocations: 16.5 kB / 0.937 GB, free: 2.422 MB / 0.8855 GB Notification: Performance of SimCode: time 6.01e-07/0.1525, allocations: 0 / 0.937 GB, free: 2.422 MB / 0.8855 GB Notification: Performance of Templates: time 0.01186/0.1643, allocations: 10.32 MB / 0.9471 GB, free: 8.129 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.54113950394094]