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.0009083/0.0009083, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.0008958/0.0008958, allocations: 171.3 kB / 24.87 MB, free: 8.891 MB / 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.058/1.058, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.791/1.791, allocations: 359 MB / 0.6063 GB, free: 10.88 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.473e-06/1.473e-06, allocations: 0 / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.604e-05/2.751e-05, allocations: 6.25 kB / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1215/0.1215, allocations: 128.8 MB / 0.9141 GB, free: 11 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.006855/0.1284, allocations: 7.847 MB / 0.9217 GB, free: 3.129 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.126e-05/0.1284, allocations: 0 / 0.9217 GB, free: 3.129 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.1286, allocations: 15.91 kB / 0.9218 GB, free: 3.113 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 5.11e-05/0.1287, allocations: 27.78 kB / 0.9218 GB, free: 3.086 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003397/0.1321, allocations: 1.471 MB / 0.9232 GB, free: 1.609 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.1322, allocations: 79.62 kB / 0.9233 GB, free: 1.531 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.196e-05/0.1323, allocations: 4 kB / 0.9233 GB, free: 1.527 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.1324, allocations: 55.81 kB / 0.9233 GB, free: 1.473 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.021e-05/0.1325, allocations: 27.89 kB / 0.9234 GB, free: 1.445 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.1325, allocations: 8 kB / 0.9234 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003263/0.1357, allocations: 2.614 MB / 0.9259 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 3.061e-05/0.1358, allocations: 19.91 kB / 0.926 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 4.311e-05/0.1358, allocations: 23.97 kB / 0.926 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.002221/0.138, allocations: 1.801 MB / 0.9277 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.138, allocations: 4 kB / 0.9277 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1381, allocations: 0 / 0.9277 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.1381, allocations: 0 / 0.9277 GB, free: 12.97 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.0008472/0.1389, allocations: 0.5229 MB / 0.9283 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.1389, allocations: 12.03 kB / 0.9283 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000259/0.1392, allocations: 52.62 kB / 0.9283 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.944e-05/0.1393, allocations: 116.5 kB / 0.9284 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.186e-05/0.1393, allocations: 55.97 kB / 0.9285 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.1394, allocations: 8.375 kB / 0.9285 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.1396, allocations: 140.3 kB / 0.9286 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1396, allocations: 0 / 0.9286 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.1396, allocations: 4 kB / 0.9286 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.1396, allocations: 4 kB / 0.9286 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.1398, allocations: 86.64 kB / 0.9287 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003102/0.1401, allocations: 296.3 kB / 0.929 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.1402, allocations: 111 kB / 0.9291 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.596e-05/0.1403, allocations: 39.59 kB / 0.9291 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005089/0.1453, allocations: 2.583 MB / 0.9317 GB, free: 8.828 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.1454, allocations: 33.39 kB / 0.9317 GB, free: 8.785 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=13): time 1.943e-06/0.1454, allocations: 4 kB / 0.9317 GB, free: 8.781 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13): time 0.0003256/0.1457, allocations: 149.5 kB / 0.9318 GB, free: 8.629 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.1457, allocations: 51.41 kB / 0.9319 GB, free: 8.566 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.482e-05/0.1458, allocations: 161.9 kB / 0.932 GB, free: 8.391 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.1458, allocations: 33.64 kB / 0.9321 GB, free: 8.352 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.395e-05/0.1458, allocations: 134.8 kB / 0.9322 GB, free: 8.215 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.1459, allocations: 43.58 kB / 0.9322 GB, free: 8.172 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/0.1459, allocations: 31.36 kB / 0.9323 GB, free: 8.133 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.146, allocations: 0.4923 MB / 0.9328 GB, free: 7.629 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.188e-05/0.1461, allocations: 15.98 kB / 0.9328 GB, free: 7.613 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.155e-05/0.1461, allocations: 11.98 kB / 0.9328 GB, free: 7.602 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.621e-05/0.1461, allocations: 51.8 kB / 0.9328 GB, free: 7.551 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1461, allocations: 4 kB / 0.9328 GB, free: 7.547 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001213/0.1463, allocations: 105.5 kB / 0.9329 GB, free: 7.438 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1463, allocations: 8 kB / 0.9329 GB, free: 7.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.1463, allocations: 3.984 kB / 0.9329 GB, free: 7.426 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.1463, allocations: 0 / 0.9329 GB, free: 7.426 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.552e-05/0.1464, allocations: 23.98 kB / 0.933 GB, free: 7.402 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.776e-06/0.1464, allocations: 0 / 0.933 GB, free: 7.402 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.872e-05/0.1464, allocations: 11.94 kB / 0.933 GB, free: 7.391 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.1464, allocations: 0 / 0.933 GB, free: 7.391 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.153e-05/0.1465, allocations: 164.5 kB / 0.9331 GB, free: 7.219 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.1465, allocations: 15.89 kB / 0.9331 GB, free: 7.203 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.1467, allocations: 244.2 kB / 0.9334 GB, free: 6.957 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.1468, allocations: 3.984 kB / 0.9334 GB, free: 6.953 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.1468, allocations: 0 / 0.9334 GB, free: 6.953 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1468, allocations: 0 / 0.9334 GB, free: 6.953 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.1469, allocations: 189 kB / 0.9336 GB, free: 6.742 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.1469, allocations: 192 / 0.9336 GB, free: 6.742 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.22e-05/0.147, allocations: 19.98 kB / 0.9336 GB, free: 6.723 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.147, allocations: 3.938 kB / 0.9336 GB, free: 6.719 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.147, allocations: 11.98 kB / 0.9336 GB, free: 6.707 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.147, allocations: 3.938 kB / 0.9336 GB, free: 6.703 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.147, allocations: 4 kB / 0.9336 GB, free: 6.699 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.1472, allocations: 311.7 kB / 0.9339 GB, free: 6.375 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.546e-05/0.1472, allocations: 31.77 kB / 0.9339 GB, free: 6.344 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.1472, allocations: 3.938 kB / 0.9339 GB, free: 6.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.195e-05/0.1473, allocations: 8 kB / 0.9339 GB, free: 6.332 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.596e-05/0.1473, allocations: 7.969 kB / 0.934 GB, free: 6.324 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.1473, allocations: 4 kB / 0.934 GB, free: 6.32 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.494e-05/0.1474, allocations: 135.1 kB / 0.9341 GB, free: 6.188 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1474, allocations: 0 / 0.9341 GB, free: 6.188 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006492/0.148, allocations: 303.7 kB / 0.9344 GB, free: 5.891 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.0009255/0.1489, allocations: 450.7 kB / 0.9348 GB, free: 5.438 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001242/0.1491, allocations: 87.52 kB / 0.9349 GB, free: 5.348 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1491, allocations: 0 / 0.9349 GB, free: 5.348 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.964e-05/0.1491, allocations: 71.58 kB / 0.935 GB, free: 5.273 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.1494, allocations: 25.53 kB / 0.935 GB, free: 5.25 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005546/0.1499, allocations: 294.2 kB / 0.9353 GB, free: 4.938 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.159e-05/0.15, allocations: 71.84 kB / 0.9353 GB, free: 4.848 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.009e-05/0.15, allocations: 32.45 kB / 0.9354 GB, free: 4.816 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.653e-05/0.1501, allocations: 106.2 kB / 0.9355 GB, free: 4.711 MB / 0.8855 GB Notification: Performance of SimCode: time 9.11e-07/0.1501, allocations: 0 / 0.9355 GB, free: 4.711 MB / 0.8855 GB Notification: Performance of Templates: time 0.0123/0.1624, allocations: 11.41 MB / 0.9466 GB, free: 9.332 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.904773199930787]