Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001347/0.001347, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001662/0.001662, allocations: 165 kB / 23.02 MB, free: 1.555 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.032/1.032, allocations: 177.1 MB / 203.4 MB, free: 5.66 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.142/2.142, allocations: 429.5 MB / 0.6733 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.8781 GB, free: 6.391 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/2.016e-05, allocations: 3.625 kB / 0.8781 GB, free: 6.387 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1204/0.1204, allocations: 131.3 MB / 1.006 GB, free: 2.625 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.006571/0.1269, allocations: 7.949 MB / 1.014 GB, free: 10.65 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.563e-05/0.127, allocations: 0 / 1.014 GB, free: 10.65 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.1272, allocations: 19.84 kB / 1.014 GB, free: 10.63 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 3.288e-05/0.1272, allocations: 19.8 kB / 1.014 GB, free: 10.61 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002214/0.1294, allocations: 1.471 MB / 1.016 GB, free: 9.133 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.1295, allocations: 83.58 kB / 1.016 GB, free: 9.051 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 4.072e-05/0.1295, allocations: 8 kB / 1.016 GB, free: 9.043 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.1297, allocations: 59.8 kB / 1.016 GB, free: 8.984 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 7.123e-05/0.1297, allocations: 23.91 kB / 1.016 GB, free: 8.961 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.1297, allocations: 4 kB / 1.016 GB, free: 8.957 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002546/0.1323, allocations: 2.622 MB / 1.018 GB, free: 6.332 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 2.125e-05/0.1323, allocations: 4 kB / 1.018 GB, free: 6.328 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.1324, allocations: 31.84 kB / 1.018 GB, free: 6.297 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.1338, allocations: 1.797 MB / 1.02 GB, free: 4.496 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1338, allocations: 4 kB / 1.02 GB, free: 4.492 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1338, allocations: 4 kB / 1.02 GB, free: 4.488 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 4.86e-06/0.1338, allocations: 0 / 1.02 GB, free: 4.488 MB / 0.9792 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.0007005/0.1345, allocations: 0.5187 MB / 1.021 GB, free: 3.934 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1345, allocations: 8.031 kB / 1.021 GB, free: 3.926 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002578/0.1348, allocations: 48.67 kB / 1.021 GB, free: 3.879 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.133e-05/0.1349, allocations: 116.5 kB / 1.021 GB, free: 3.738 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.262e-05/0.1349, allocations: 59.97 kB / 1.021 GB, free: 3.668 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.135, allocations: 4.375 kB / 1.021 GB, free: 3.664 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.1352, allocations: 156.2 kB / 1.021 GB, free: 3.496 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.1352, allocations: 3.938 kB / 1.021 GB, free: 3.492 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1352, allocations: 4 kB / 1.021 GB, free: 3.488 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.1352, allocations: 4 kB / 1.021 GB, free: 3.484 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.1354, allocations: 87.91 kB / 1.021 GB, free: 3.398 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.1357, allocations: 315.6 kB / 1.021 GB, free: 3.055 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.1359, allocations: 127 kB / 1.022 GB, free: 2.918 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.774e-05/0.136, allocations: 43.66 kB / 1.022 GB, free: 2.871 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005363/0.1413, allocations: 3.055 MB / 1.025 GB, free: 15.82 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.1413, allocations: 37.39 kB / 1.025 GB, free: 15.77 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.1413, allocations: 0 / 1.025 GB, free: 15.77 MB / 0.9948 GB Notification: Performance of matching and sorting (n=13): time 0.0003181/0.1417, allocations: 164.9 kB / 1.025 GB, free: 15.61 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.1417, allocations: 51.41 kB / 1.025 GB, free: 15.54 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.297e-05/0.1417, allocations: 157.9 kB / 1.025 GB, free: 15.37 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.1418, allocations: 33.7 kB / 1.025 GB, free: 15.33 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 3.933e-05/0.1418, allocations: 130.9 kB / 1.025 GB, free: 15.2 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.1418, allocations: 43.59 kB / 1.025 GB, free: 15.16 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.1419, allocations: 35.36 kB / 1.025 GB, free: 15.11 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.142, allocations: 0.4923 MB / 1.026 GB, free: 14.61 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.601e-05/0.142, allocations: 12 kB / 1.026 GB, free: 14.6 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.741e-05/0.142, allocations: 23.98 kB / 1.026 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.19e-05/0.1421, allocations: 63.61 kB / 1.026 GB, free: 14.51 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1421, allocations: 0 / 1.026 GB, free: 14.51 MB / 0.9948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001216/0.1422, allocations: 105.6 kB / 1.026 GB, free: 14.4 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1422, allocations: 4 kB / 1.026 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1422, allocations: 0 / 1.026 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1423, allocations: 0 / 1.026 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.679e-05/0.1423, allocations: 27.98 kB / 1.026 GB, free: 14.37 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1423, allocations: 7.938 kB / 1.026 GB, free: 14.36 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.6e-05/0.1424, allocations: 11.88 kB / 1.026 GB, free: 14.35 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.1424, allocations: 4 kB / 1.026 GB, free: 14.34 MB / 0.9948 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.183e-05/0.1424, allocations: 164.5 kB / 1.026 GB, free: 14.17 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.1425, allocations: 12 kB / 1.026 GB, free: 14.16 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/0.1427, allocations: 276.1 kB / 1.026 GB, free: 13.88 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.1427, allocations: 7.984 kB / 1.026 GB, free: 13.87 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1427, allocations: 4 kB / 1.026 GB, free: 13.87 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1427, allocations: 0 / 1.026 GB, free: 13.87 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.1429, allocations: 204.4 kB / 1.027 GB, free: 13.63 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.1429, allocations: 0 / 1.027 GB, free: 13.63 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.099e-05/0.1429, allocations: 27.92 kB / 1.027 GB, free: 13.61 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.1429, allocations: 0 / 1.027 GB, free: 13.61 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.143, allocations: 0 / 1.027 GB, free: 13.61 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.143, allocations: 4 kB / 1.027 GB, free: 13.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.143, allocations: 0 / 1.027 GB, free: 13.6 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.1432, allocations: 339.4 kB / 1.027 GB, free: 13.25 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.434e-05/0.1432, allocations: 31.77 kB / 1.027 GB, free: 13.22 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.1432, allocations: 0 / 1.027 GB, free: 13.22 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.91e-05/0.1433, allocations: 8 kB / 1.027 GB, free: 13.21 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.986e-05/0.1433, allocations: 15.97 kB / 1.027 GB, free: 13.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.1433, allocations: 4 kB / 1.027 GB, free: 13.19 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 3.813e-05/0.1433, allocations: 119.2 kB / 1.027 GB, free: 13.07 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.1433, allocations: 0 / 1.027 GB, free: 13.07 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004624/0.1438, allocations: 311.7 kB / 1.027 GB, free: 12.77 MB / 0.9948 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.001024/0.1448, allocations: 449.5 kB / 1.028 GB, free: 12.32 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001552/0.145, allocations: 90.75 kB / 1.028 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.145, allocations: 0 / 1.028 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 7.887e-05/0.1451, allocations: 91.45 kB / 1.028 GB, free: 12.14 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.1453, allocations: 23.92 kB / 1.028 GB, free: 12.12 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006262/0.1459, allocations: 298.2 kB / 1.028 GB, free: 11.8 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.513e-05/0.146, allocations: 75.84 kB / 1.028 GB, free: 11.71 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 7.96e-05/0.146, allocations: 32.41 kB / 1.028 GB, free: 11.68 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.03e-05/0.1461, allocations: 20.48 kB / 1.028 GB, free: 11.66 MB / 0.9948 GB Notification: Performance of SimCode: time 7.51e-07/0.1461, allocations: 0 / 1.028 GB, free: 11.66 MB / 0.9948 GB Notification: Performance of Templates: time 0.009921/0.156, allocations: 10.33 MB / 1.038 GB, free: 1.352 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.9924797136336565]