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.001651/0.001651, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.002122/0.002122, allocations: 161.4 kB / 23.82 MB, free: 0.7461 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.075/1.075, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.904/1.904, allocations: 359 MB / 0.6052 GB, free: 11.04 MB / 0.573 GB " [Timeout remaining time 177] 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.753e-06/1.753e-06, allocations: 0 / 0.787 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.64e-05, allocations: 6.312 kB / 0.787 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1163/0.1163, allocations: 131.3 MB / 0.9153 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.007338/0.1236, allocations: 7.948 MB / 0.923 GB, free: 0.8555 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.645e-05/0.1237, allocations: 8 kB / 0.923 GB, free: 0.8477 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002101/0.1239, allocations: 19.91 kB / 0.9231 GB, free: 0.8281 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 4.462e-05/0.124, allocations: 19.78 kB / 0.9231 GB, free: 0.8086 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003528/0.1275, allocations: 1.475 MB / 0.9245 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.1276, allocations: 83.56 kB / 0.9246 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 3.829e-05/0.1277, allocations: 0 / 0.9246 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.1278, allocations: 55.88 kB / 0.9246 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 8.148e-05/0.1279, allocations: 31.84 kB / 0.9247 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.1279, allocations: 4 kB / 0.9247 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003237/0.1311, allocations: 2.622 MB / 0.9272 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 3.057e-05/0.1312, allocations: 11.98 kB / 0.9273 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 5.284e-05/0.1312, allocations: 27.91 kB / 0.9273 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.002234/0.1335, allocations: 1.797 MB / 0.929 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.1335, allocations: 0 / 0.929 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.104e-06/0.1335, allocations: 0 / 0.929 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.1335, allocations: 0 / 0.929 GB, free: 10.69 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.0009548/0.1344, allocations: 0.5268 MB / 0.9296 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.1345, allocations: 8.031 kB / 0.9296 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003227/0.1348, allocations: 48.64 kB / 0.9296 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.407e-05/0.1349, allocations: 120.5 kB / 0.9297 GB, free: 9.93 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.035e-05/0.135, allocations: 55.97 kB / 0.9298 GB, free: 9.863 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.135, allocations: 8.375 kB / 0.9298 GB, free: 9.855 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/0.1352, allocations: 148.3 kB / 0.9299 GB, free: 9.695 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.1353, allocations: 0 / 0.9299 GB, free: 9.695 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.1353, allocations: 4 kB / 0.9299 GB, free: 9.691 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.1353, allocations: 0 / 0.9299 GB, free: 9.691 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.1354, allocations: 87.84 kB / 0.93 GB, free: 9.605 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004992/0.1359, allocations: 323.6 kB / 0.9303 GB, free: 9.254 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.1361, allocations: 123 kB / 0.9304 GB, free: 9.121 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.592e-05/0.1362, allocations: 47.66 kB / 0.9305 GB, free: 9.07 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005805/0.142, allocations: 3.054 MB / 0.9335 GB, free: 6.016 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.142, allocations: 37.39 kB / 0.9335 GB, free: 5.969 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=13): time 2.705e-06/0.142, allocations: 4 kB / 0.9335 GB, free: 5.965 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13): time 0.000396/0.1424, allocations: 153.5 kB / 0.9337 GB, free: 5.809 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.1425, allocations: 55.41 kB / 0.9337 GB, free: 5.742 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.481e-05/0.1425, allocations: 161.9 kB / 0.9339 GB, free: 5.566 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.1425, allocations: 25.7 kB / 0.9339 GB, free: 5.535 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.715e-05/0.1426, allocations: 134.8 kB / 0.934 GB, free: 5.398 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.1426, allocations: 47.58 kB / 0.9341 GB, free: 5.352 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.175e-05/0.1427, allocations: 31.38 kB / 0.9341 GB, free: 5.312 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1428, allocations: 0.4961 MB / 0.9346 GB, free: 4.805 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.085e-05/0.1428, allocations: 19.98 kB / 0.9346 GB, free: 4.785 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.049e-05/0.1429, allocations: 19.98 kB / 0.9346 GB, free: 4.766 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.953e-05/0.1429, allocations: 61.86 kB / 0.9347 GB, free: 4.703 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1429, allocations: 0 / 0.9347 GB, free: 4.703 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001473/0.1431, allocations: 109.6 kB / 0.9348 GB, free: 4.59 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1431, allocations: 8 kB / 0.9348 GB, free: 4.582 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1431, allocations: 0 / 0.9348 GB, free: 4.582 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1431, allocations: 0 / 0.9348 GB, free: 4.582 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.08e-05/0.1432, allocations: 23.92 kB / 0.9348 GB, free: 4.559 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.1432, allocations: 3.984 kB / 0.9348 GB, free: 4.555 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.963e-05/0.1432, allocations: 11.94 kB / 0.9348 GB, free: 4.543 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.128e-06/0.1433, allocations: 4 kB / 0.9348 GB, free: 4.539 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.204e-05/0.1433, allocations: 160.5 kB / 0.935 GB, free: 4.371 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.1434, allocations: 11.95 kB / 0.935 GB, free: 4.359 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002931/0.1437, allocations: 272.1 kB / 0.9352 GB, free: 4.086 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.1437, allocations: 11.98 kB / 0.9353 GB, free: 4.074 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.1437, allocations: 0 / 0.9353 GB, free: 4.074 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1437, allocations: 0 / 0.9353 GB, free: 4.074 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.1438, allocations: 200.3 kB / 0.9354 GB, free: 3.844 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1438, allocations: 4 kB / 0.9355 GB, free: 3.84 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.708e-05/0.1439, allocations: 23.98 kB / 0.9355 GB, free: 3.816 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1439, allocations: 0 / 0.9355 GB, free: 3.816 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.1439, allocations: 4 kB / 0.9355 GB, free: 3.812 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1439, allocations: 0 / 0.9355 GB, free: 3.812 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1439, allocations: 4 kB / 0.9355 GB, free: 3.809 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.1442, allocations: 339.6 kB / 0.9358 GB, free: 3.457 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/0.1442, allocations: 31.77 kB / 0.9358 GB, free: 3.426 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.1442, allocations: 4 kB / 0.9358 GB, free: 3.422 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.29e-05/0.1443, allocations: 3.984 kB / 0.9358 GB, free: 3.418 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.083e-05/0.1443, allocations: 7.984 kB / 0.9359 GB, free: 3.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.1443, allocations: 8 kB / 0.9359 GB, free: 3.402 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.954e-05/0.1443, allocations: 127.2 kB / 0.936 GB, free: 3.277 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.1443, allocations: 0 / 0.936 GB, free: 3.277 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006725/0.145, allocations: 303.7 kB / 0.9363 GB, free: 2.98 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.0009507/0.146, allocations: 450.9 kB / 0.9367 GB, free: 2.527 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001652/0.1461, allocations: 105.8 kB / 0.9368 GB, free: 2.422 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1461, allocations: 0 / 0.9368 GB, free: 2.422 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 7.352e-05/0.1462, allocations: 86.77 kB / 0.9369 GB, free: 2.336 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.1465, allocations: 29.58 kB / 0.9369 GB, free: 2.309 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006857/0.1471, allocations: 282.5 kB / 0.9372 GB, free: 2.008 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.1473, allocations: 79.83 kB / 0.9373 GB, free: 1.91 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.186e-05/0.1474, allocations: 28.42 kB / 0.9373 GB, free: 1.883 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.1474, allocations: 16.48 kB / 0.9373 GB, free: 1.867 MB / 0.8855 GB Notification: Performance of SimCode: time 8.62e-07/0.1474, allocations: 0 / 0.9373 GB, free: 1.867 MB / 0.8855 GB Notification: Performance of Templates: time 0.01136/0.1588, allocations: 10.32 MB / 0.9474 GB, free: 7.578 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.762941335793585]