Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001173/0.001173, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001236/0.001236, allocations: 161 kB / 24.17 MB, free: 328 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.012/1.012, allocations: 177.1 MB / 204.6 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.921/1.921, allocations: 377.9 MB / 0.624 GB, free: 8.383 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 9.42e-07/9.42e-07, allocations: 0 / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.581e-05/1.675e-05, allocations: 5.406 kB / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1209/0.1209, allocations: 130.8 MB / 0.8878 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.007027/0.1279, allocations: 7.932 MB / 0.8955 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.17e-05/0.128, allocations: 0 / 0.8955 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.1281, allocations: 23.84 kB / 0.8956 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.202e-05/0.1281, allocations: 19.78 kB / 0.8956 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00208/0.1302, allocations: 1.307 MB / 0.8968 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 9.065e-05/0.1303, allocations: 79.58 kB / 0.8969 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 2.761e-05/0.1303, allocations: 8 kB / 0.8969 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 9.989e-05/0.1304, allocations: 59.8 kB / 0.897 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.929e-05/0.1305, allocations: 27.91 kB / 0.897 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.1305, allocations: 4 kB / 0.897 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002698/0.1332, allocations: 2.782 MB / 0.8997 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.889e-05/0.1332, allocations: 11.97 kB / 0.8997 GB, free: 7.223 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.545e-05/0.1332, allocations: 27.92 kB / 0.8998 GB, free: 7.195 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001488/0.1347, allocations: 1.797 MB / 0.9015 GB, free: 5.395 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1347, allocations: 0 / 0.9015 GB, free: 5.395 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1347, allocations: 0 / 0.9015 GB, free: 5.395 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.1347, allocations: 7.938 kB / 0.9015 GB, free: 5.387 MB / 0.8542 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.0005555/0.1353, allocations: 407.9 kB / 0.9019 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.568e-05/0.1353, allocations: 12.03 kB / 0.9019 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002328/0.1355, allocations: 56.61 kB / 0.902 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.566e-05/0.1356, allocations: 113.7 kB / 0.9021 GB, free: 4.762 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/0.1356, allocations: 51.97 kB / 0.9021 GB, free: 4.699 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.1357, allocations: 12.38 kB / 0.9022 GB, free: 4.688 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.1358, allocations: 147.1 kB / 0.9023 GB, free: 4.527 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.381e-06/0.1359, allocations: 4 kB / 0.9023 GB, free: 4.523 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.1359, allocations: 7.875 kB / 0.9023 GB, free: 4.516 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1359, allocations: 0 / 0.9023 GB, free: 4.516 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.136, allocations: 75.91 kB / 0.9024 GB, free: 4.441 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002291/0.1362, allocations: 209.8 kB / 0.9026 GB, free: 4.219 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.1364, allocations: 94.52 kB / 0.9027 GB, free: 4.117 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.455e-05/0.1364, allocations: 52.73 kB / 0.9027 GB, free: 4.062 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006651/0.1431, allocations: 2.653 MB / 0.9053 GB, free: 1.402 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.1431, allocations: 38.55 kB / 0.9054 GB, free: 1.355 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.1431, allocations: 0 / 0.9054 GB, free: 1.355 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0002993/0.1434, allocations: 133.5 kB / 0.9055 GB, free: 1.219 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.1434, allocations: 55.41 kB / 0.9055 GB, free: 1.152 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.018e-05/0.1435, allocations: 102.7 kB / 0.9056 GB, free: 1.039 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.1435, allocations: 29.64 kB / 0.9057 GB, free: 1.004 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.619e-05/0.1435, allocations: 84.14 kB / 0.9057 GB, free: 0.918 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.1436, allocations: 51.56 kB / 0.9058 GB, free: 0.8672 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.1436, allocations: 29.69 kB / 0.9058 GB, free: 0.832 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.513e-05/0.1437, allocations: 310.8 kB / 0.9061 GB, free: 0.5195 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.044e-05/0.1437, allocations: 15.98 kB / 0.9061 GB, free: 0.5039 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.869e-05/0.1437, allocations: 12 kB / 0.9061 GB, free: 0.4922 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.234e-05/0.1438, allocations: 51.94 kB / 0.9062 GB, free: 452 kB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1438, allocations: 0 / 0.9062 GB, free: 452 kB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001061/0.1439, allocations: 81.59 kB / 0.9063 GB, free: 364 kB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.1439, allocations: 8 kB / 0.9063 GB, free: 356 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1439, allocations: 4 kB / 0.9063 GB, free: 352 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.1439, allocations: 0 / 0.9063 GB, free: 352 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.746e-05/0.144, allocations: 23.92 kB / 0.9063 GB, free: 328 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.144, allocations: 4 kB / 0.9063 GB, free: 324 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.896e-05/0.144, allocations: 11.89 kB / 0.9063 GB, free: 312 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.144, allocations: 0 / 0.9063 GB, free: 312 kB / 0.8542 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 5.681e-05/0.1441, allocations: 117.8 kB / 0.9064 GB, free: 184 kB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/0.1441, allocations: 15.86 kB / 0.9064 GB, free: 168 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.1444, allocations: 267 kB / 0.9067 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.1444, allocations: 11.98 kB / 0.9067 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.1444, allocations: 0 / 0.9067 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1444, allocations: 0 / 0.9067 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.1446, allocations: 134 kB / 0.9068 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1446, allocations: 0 / 0.9068 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.627e-05/0.1446, allocations: 27.98 kB / 0.9069 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1446, allocations: 0 / 0.9069 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-06/0.1446, allocations: 7.938 kB / 0.9069 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1446, allocations: 4 kB / 0.9069 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1446, allocations: 0 / 0.9069 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.1448, allocations: 294.4 kB / 0.9072 GB, free: 15.39 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.537e-05/0.1449, allocations: 23.83 kB / 0.9072 GB, free: 15.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.1449, allocations: 7.938 kB / 0.9072 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.943e-05/0.145, allocations: 7.984 kB / 0.9072 GB, free: 15.35 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.799e-05/0.145, allocations: 7.984 kB / 0.9072 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.145, allocations: 4 kB / 0.9072 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 1.024e-05/0.145, allocations: 8.844 kB / 0.9072 GB, free: 15.33 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.145, allocations: 8 kB / 0.9072 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005957/0.1456, allocations: 303.7 kB / 0.9075 GB, free: 15.02 MB / 0.8698 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.001027/0.1466, allocations: 460 kB / 0.908 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001147/0.1468, allocations: 78.83 kB / 0.908 GB, free: 14.49 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1468, allocations: 4 kB / 0.908 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.522e-05/0.1468, allocations: 64.69 kB / 0.9081 GB, free: 14.42 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.147, allocations: 23.97 kB / 0.9081 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000557/0.1476, allocations: 295.3 kB / 0.9084 GB, free: 14.08 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.181e-05/0.1476, allocations: 83.77 kB / 0.9085 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 8.257e-05/0.1477, allocations: 32.39 kB / 0.9085 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.1478, allocations: 81.31 kB / 0.9086 GB, free: 13.87 MB / 0.8698 GB Notification: Performance of SimCode: time 5.31e-07/0.1478, allocations: 0 / 0.9086 GB, free: 13.87 MB / 0.8698 GB Notification: Performance of Templates: time 0.01386/0.1617, allocations: 11.02 MB / 0.9194 GB, free: 2.859 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.44108840636909]