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.0009227/0.0009227, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001063/0.001063, allocations: 181 kB / 24.09 MB, free: 420 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 0.9575/0.9575, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.763/1.763, allocations: 359 MB / 0.6055 GB, free: 10.89 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 1.823e-06/1.823e-06, allocations: 0 / 0.7875 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.273e-05, allocations: 10.25 kB / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1089/0.109, allocations: 128.8 MB / 0.9133 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.006568/0.1155, allocations: 7.843 MB / 0.921 GB, free: 3.117 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.294e-05/0.1156, allocations: 0 / 0.921 GB, free: 3.117 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.1158, allocations: 23.78 kB / 0.921 GB, free: 3.094 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 4.43e-05/0.1158, allocations: 23.84 kB / 0.921 GB, free: 3.07 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003156/0.119, allocations: 1.479 MB / 0.9225 GB, free: 1.59 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.1191, allocations: 83.58 kB / 0.9225 GB, free: 1.508 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.655e-05/0.1192, allocations: 4 kB / 0.9225 GB, free: 1.504 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.1193, allocations: 51.88 kB / 0.9226 GB, free: 1.453 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.355e-05/0.1194, allocations: 23.95 kB / 0.9226 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.1194, allocations: 7.938 kB / 0.9226 GB, free: 1.422 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003013/0.1224, allocations: 2.618 MB / 0.9252 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 2.531e-05/0.1224, allocations: 15.97 kB / 0.9252 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 4.065e-05/0.1225, allocations: 23.91 kB / 0.9252 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.002036/0.1245, allocations: 1.801 MB / 0.927 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1245, allocations: 4 kB / 0.927 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1245, allocations: 0 / 0.927 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.1245, allocations: 0 / 0.927 GB, free: 12.95 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.0006749/0.1252, allocations: 0.5229 MB / 0.9275 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.1252, allocations: 8.031 kB / 0.9275 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002342/0.1254, allocations: 48.62 kB / 0.9276 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.669e-05/0.1255, allocations: 120.5 kB / 0.9277 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.248e-05/0.1256, allocations: 55.97 kB / 0.9277 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.1256, allocations: 12.38 kB / 0.9277 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.1258, allocations: 136.3 kB / 0.9279 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.1258, allocations: 0 / 0.9279 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.1258, allocations: 4 kB / 0.9279 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.1258, allocations: 7.938 kB / 0.9279 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.1259, allocations: 82.64 kB / 0.928 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003002/0.1262, allocations: 300.2 kB / 0.9282 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.1264, allocations: 111.1 kB / 0.9283 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.565e-05/0.1264, allocations: 43.58 kB / 0.9284 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004723/0.1311, allocations: 2.598 MB / 0.9309 GB, free: 8.793 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.1312, allocations: 33.39 kB / 0.931 GB, free: 8.75 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=13): time 2.364e-06/0.1312, allocations: 0 / 0.931 GB, free: 8.75 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13): time 0.0003069/0.1315, allocations: 152.6 kB / 0.9311 GB, free: 8.598 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.1315, allocations: 51.41 kB / 0.9311 GB, free: 8.535 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.146e-05/0.1316, allocations: 157.9 kB / 0.9313 GB, free: 8.363 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.1316, allocations: 25.7 kB / 0.9313 GB, free: 8.332 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.919e-05/0.1316, allocations: 142.8 kB / 0.9315 GB, free: 8.188 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.1317, allocations: 47.58 kB / 0.9315 GB, free: 8.141 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.1317, allocations: 35.34 kB / 0.9315 GB, free: 8.098 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1318, allocations: 0.4884 MB / 0.932 GB, free: 7.598 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.1318, allocations: 11.98 kB / 0.932 GB, free: 7.586 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.118e-05/0.1318, allocations: 15.98 kB / 0.932 GB, free: 7.57 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.43e-05/0.1319, allocations: 51.61 kB / 0.9321 GB, free: 7.516 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1319, allocations: 0 / 0.9321 GB, free: 7.516 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000123/0.132, allocations: 101.6 kB / 0.9322 GB, free: 7.41 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.132, allocations: 4 kB / 0.9322 GB, free: 7.406 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.132, allocations: 0 / 0.9322 GB, free: 7.406 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.1321, allocations: 8 kB / 0.9322 GB, free: 7.398 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.981e-05/0.1321, allocations: 19.98 kB / 0.9322 GB, free: 7.379 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.1321, allocations: 0 / 0.9322 GB, free: 7.379 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.531e-05/0.1322, allocations: 7.938 kB / 0.9322 GB, free: 7.371 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.974e-06/0.1322, allocations: 7.938 kB / 0.9322 GB, free: 7.363 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 6.657e-05/0.1322, allocations: 164.5 kB / 0.9324 GB, free: 7.191 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.1323, allocations: 11.89 kB / 0.9324 GB, free: 7.18 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003816/0.1326, allocations: 248.1 kB / 0.9326 GB, free: 6.93 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.1326, allocations: 4 kB / 0.9326 GB, free: 6.926 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.1327, allocations: 4 kB / 0.9326 GB, free: 6.922 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1327, allocations: 3.984 kB / 0.9327 GB, free: 6.918 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.1328, allocations: 181 kB / 0.9328 GB, free: 6.715 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1328, allocations: 4 kB / 0.9328 GB, free: 6.711 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.172e-05/0.1329, allocations: 23.92 kB / 0.9328 GB, free: 6.688 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.1329, allocations: 3.938 kB / 0.9329 GB, free: 6.684 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.1329, allocations: 4 kB / 0.9329 GB, free: 6.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.1329, allocations: 4 kB / 0.9329 GB, free: 6.676 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1329, allocations: 0 / 0.9329 GB, free: 6.676 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.1331, allocations: 311.9 kB / 0.9332 GB, free: 6.352 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.598e-05/0.1331, allocations: 35.75 kB / 0.9332 GB, free: 6.316 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-06/0.1331, allocations: 7.938 kB / 0.9332 GB, free: 6.309 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.217e-05/0.1332, allocations: 15.97 kB / 0.9332 GB, free: 6.293 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.673e-05/0.1332, allocations: 11.92 kB / 0.9332 GB, free: 6.281 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.1332, allocations: 8 kB / 0.9332 GB, free: 6.273 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.285e-05/0.1332, allocations: 127.2 kB / 0.9334 GB, free: 6.148 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4e-08/0.1332, allocations: 0 / 0.9334 GB, free: 6.148 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006141/0.1339, allocations: 303.7 kB / 0.9336 GB, free: 5.852 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.0008545/0.1347, allocations: 454.7 kB / 0.9341 GB, free: 5.395 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001167/0.1348, allocations: 94.58 kB / 0.9342 GB, free: 5.301 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1348, allocations: 0 / 0.9342 GB, free: 5.301 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.367e-05/0.1349, allocations: 59.64 kB / 0.9342 GB, free: 5.238 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.1351, allocations: 27.92 kB / 0.9343 GB, free: 5.211 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005524/0.1357, allocations: 290.4 kB / 0.9345 GB, free: 4.902 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.251e-05/0.1357, allocations: 71.84 kB / 0.9346 GB, free: 4.812 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.144e-05/0.1358, allocations: 28.41 kB / 0.9346 GB, free: 4.785 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.806e-05/0.1359, allocations: 106.2 kB / 0.9347 GB, free: 4.68 MB / 0.8855 GB Notification: Performance of SimCode: time 8.92e-07/0.1359, allocations: 0 / 0.9347 GB, free: 4.68 MB / 0.8855 GB Notification: Performance of Templates: time 0.0117/0.1476, allocations: 11.39 MB / 0.9458 GB, free: 9.301 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.270009764935821]