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.000972/0.000972, allocations: 84.8 kB / 20.75 MB, free: 3.734 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.00102/0.00102, allocations: 161 kB / 24.16 MB, free: 332 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.9664/0.9664, allocations: 177.2 MB / 204.6 MB, free: 5.492 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.85/1.85, allocations: 377.9 MB / 0.624 GB, free: 8.336 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 1.723e-06/1.723e-06, allocations: 0 / 0.76 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.546e-05/1.718e-05, allocations: 2.312 kB / 0.76 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.121/0.121, allocations: 130.8 MB / 0.8877 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.006458/0.1275, allocations: 7.94 MB / 0.8954 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.624e-05/0.1275, allocations: 4 kB / 0.8954 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.1277, allocations: 15.91 kB / 0.8955 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.838e-05/0.1277, allocations: 15.8 kB / 0.8955 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0023/0.13, allocations: 1.483 MB / 0.8969 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.1301, allocations: 75.62 kB / 0.897 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.571e-05/0.1302, allocations: 8 kB / 0.897 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.1303, allocations: 63.81 kB / 0.8971 GB, free: 9.965 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.336e-05/0.1304, allocations: 27.89 kB / 0.8971 GB, free: 9.938 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.1304, allocations: 4 kB / 0.8971 GB, free: 9.934 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002548/0.1329, allocations: 2.61 MB / 0.8996 GB, free: 7.32 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.133, allocations: 15.91 kB / 0.8997 GB, free: 7.305 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.801e-05/0.133, allocations: 23.97 kB / 0.8997 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.1347, allocations: 1.805 MB / 0.9014 GB, free: 5.473 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1347, allocations: 0 / 0.9014 GB, free: 5.473 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1347, allocations: 0 / 0.9014 GB, free: 5.473 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.536e-06/0.1347, allocations: 4 kB / 0.9014 GB, free: 5.469 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.0006437/0.1354, allocations: 407.9 kB / 0.9018 GB, free: 5.047 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.1354, allocations: 11.97 kB / 0.9018 GB, free: 5.035 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002278/0.1356, allocations: 56.61 kB / 0.9019 GB, free: 4.98 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.411e-05/0.1357, allocations: 113.7 kB / 0.902 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.1358, allocations: 63.95 kB / 0.9021 GB, free: 4.77 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.1358, allocations: 4.375 kB / 0.9021 GB, free: 4.766 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.136, allocations: 147.1 kB / 0.9022 GB, free: 4.605 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.55e-06/0.136, allocations: 0 / 0.9022 GB, free: 4.605 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.136, allocations: 8 kB / 0.9022 GB, free: 4.598 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.136, allocations: 0 / 0.9022 GB, free: 4.598 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.1361, allocations: 75.86 kB / 0.9023 GB, free: 4.523 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002573/0.1364, allocations: 217.8 kB / 0.9025 GB, free: 4.293 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.1365, allocations: 101.6 kB / 0.9026 GB, free: 4.188 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.966e-05/0.1365, allocations: 28.84 kB / 0.9026 GB, free: 4.156 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004756/0.1413, allocations: 2.657 MB / 0.9052 GB, free: 1.492 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.1413, allocations: 38.5 kB / 0.9053 GB, free: 1.445 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.1413, allocations: 4 kB / 0.9053 GB, free: 1.441 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0002476/0.1416, allocations: 137.4 kB / 0.9054 GB, free: 1.301 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.1416, allocations: 51.41 kB / 0.9054 GB, free: 1.238 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.583e-05/0.1416, allocations: 106.7 kB / 0.9055 GB, free: 1.121 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.1417, allocations: 29.7 kB / 0.9056 GB, free: 1.086 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.54e-05/0.1417, allocations: 80.14 kB / 0.9056 GB, free: 1.004 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.1417, allocations: 51.56 kB / 0.9057 GB, free: 0.9531 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.1417, allocations: 29.64 kB / 0.9057 GB, free: 0.918 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.297e-05/0.1418, allocations: 314.8 kB / 0.906 GB, free: 0.6016 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.478e-05/0.1418, allocations: 11.98 kB / 0.906 GB, free: 0.5898 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.567e-05/0.1418, allocations: 16 kB / 0.906 GB, free: 0.5742 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.545e-05/0.1419, allocations: 48.19 kB / 0.9061 GB, free: 0.5273 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1419, allocations: 0 / 0.9061 GB, free: 0.5273 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 8.503e-05/0.142, allocations: 81.61 kB / 0.9062 GB, free: 452 kB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.142, allocations: 4 kB / 0.9062 GB, free: 448 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.142, allocations: 0 / 0.9062 GB, free: 448 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.142, allocations: 4 kB / 0.9062 GB, free: 444 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.871e-05/0.1421, allocations: 23.92 kB / 0.9062 GB, free: 420 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.1421, allocations: 3.984 kB / 0.9062 GB, free: 416 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.387e-05/0.1421, allocations: 11.95 kB / 0.9062 GB, free: 404 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.1421, allocations: 4 kB / 0.9062 GB, free: 400 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.598e-05/0.1422, allocations: 117.8 kB / 0.9063 GB, free: 272 kB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.1422, allocations: 19.86 kB / 0.9064 GB, free: 252 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.1424, allocations: 268.4 kB / 0.9066 GB, free: 15.97 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.1424, allocations: 7.938 kB / 0.9066 GB, free: 15.97 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.1424, allocations: 4 kB / 0.9066 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1424, allocations: 0 / 0.9066 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.1426, allocations: 134 kB / 0.9067 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.1426, allocations: 0 / 0.9067 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.1427, allocations: 23.98 kB / 0.9068 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1427, allocations: 0 / 0.9068 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.1428, allocations: 7.938 kB / 0.9068 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1428, allocations: 4 kB / 0.9068 GB, free: 15.78 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.1428, allocations: 0 / 0.9068 GB, free: 15.78 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.1429, allocations: 290.4 kB / 0.9071 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.918e-05/0.1429, allocations: 27.95 kB / 0.9071 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.143, allocations: 7.938 kB / 0.9071 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.745e-05/0.143, allocations: 11.97 kB / 0.9071 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.691e-05/0.143, allocations: 7.984 kB / 0.9071 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.143, allocations: 4 kB / 0.9071 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 1.044e-05/0.143, allocations: 12.84 kB / 0.9071 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.143, allocations: 8 kB / 0.9071 GB, free: 15.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004898/0.1435, allocations: 303.7 kB / 0.9074 GB, free: 15.1 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.0008342/0.1444, allocations: 453.6 kB / 0.9079 GB, free: 14.65 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.522e-05/0.1445, allocations: 76.72 kB / 0.9079 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1445, allocations: 4 kB / 0.9079 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.615e-05/0.1445, allocations: 64.69 kB / 0.908 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.1447, allocations: 27.97 kB / 0.908 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004882/0.1452, allocations: 287.4 kB / 0.9083 GB, free: 14.17 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.163e-05/0.1452, allocations: 79.83 kB / 0.9084 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.367e-05/0.1453, allocations: 36.33 kB / 0.9084 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.754e-05/0.1454, allocations: 85.3 kB / 0.9085 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of SimCode: time 6.31e-07/0.1454, allocations: 0 / 0.9085 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of Templates: time 0.01072/0.1561, allocations: 11.01 MB / 0.9192 GB, free: 2.953 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 -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.331740411929786]