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.001408/0.001408, allocations: 81.95 kB / 20.68 MB, free: 3.82 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.001464/0.001464, allocations: 181 kB / 24.08 MB, free: 424 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.039/1.039, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.887/1.887, allocations: 377.9 MB / 0.624 GB, free: 8.406 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.212e-06/1.212e-06, allocations: 0.875 kB / 0.812 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.452e-05/1.573e-05, allocations: 2.312 kB / 0.812 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1149/0.115, allocations: 128.8 MB / 0.9378 GB, free: 264 kB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.007278/0.1222, allocations: 7.862 MB / 0.9454 GB, free: 8.363 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.101e-05/0.1223, allocations: 0 / 0.9454 GB, free: 8.363 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.1225, allocations: 23.84 kB / 0.9455 GB, free: 8.34 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.499e-05/0.1225, allocations: 15.91 kB / 0.9455 GB, free: 8.324 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.00359/0.1261, allocations: 1.471 MB / 0.9469 GB, free: 6.848 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.1263, allocations: 71.66 kB / 0.947 GB, free: 6.777 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.304e-05/0.1263, allocations: 4 kB / 0.947 GB, free: 6.773 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.1265, allocations: 59.8 kB / 0.947 GB, free: 6.715 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.731e-05/0.1266, allocations: 27.97 kB / 0.9471 GB, free: 6.688 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.1266, allocations: 4 kB / 0.9471 GB, free: 6.684 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003397/0.13, allocations: 2.625 MB / 0.9496 GB, free: 4.055 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.977e-05/0.13, allocations: 19.91 kB / 0.9497 GB, free: 4.035 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.047e-05/0.1301, allocations: 16 kB / 0.9497 GB, free: 4.02 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.002478/0.1325, allocations: 1.805 MB / 0.9514 GB, free: 2.211 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1325, allocations: 0 / 0.9514 GB, free: 2.211 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1325, allocations: 0 / 0.9514 GB, free: 2.211 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.1326, allocations: 0 / 0.9514 GB, free: 2.211 MB / 0.9011 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.0007839/0.1333, allocations: 0.519 MB / 0.9519 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.1334, allocations: 12.03 kB / 0.952 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002577/0.1336, allocations: 52.62 kB / 0.952 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.714e-05/0.1337, allocations: 116.5 kB / 0.9521 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.111e-05/0.1338, allocations: 55.97 kB / 0.9522 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.1338, allocations: 8.375 kB / 0.9522 GB, free: 1.379 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.134, allocations: 143 kB / 0.9523 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.134, allocations: 0 / 0.9523 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.134, allocations: 4 kB / 0.9523 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.134, allocations: 4 kB / 0.9523 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.1342, allocations: 79.84 kB / 0.9524 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003215/0.1345, allocations: 304.2 kB / 0.9527 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.1347, allocations: 111.1 kB / 0.9528 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.789e-05/0.1347, allocations: 42.84 kB / 0.9528 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004832/0.1395, allocations: 2.598 MB / 0.9554 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.1396, allocations: 41.33 kB / 0.9554 GB, free: 14 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.1396, allocations: 4 kB / 0.9554 GB, free: 14 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0003164/0.1399, allocations: 141.5 kB / 0.9555 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.1399, allocations: 55.39 kB / 0.9556 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.007e-05/0.14, allocations: 157.9 kB / 0.9557 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.14, allocations: 33.7 kB / 0.9558 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.587e-05/0.14, allocations: 130.8 kB / 0.9559 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.1401, allocations: 47.56 kB / 0.956 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.1401, allocations: 35.34 kB / 0.956 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1402, allocations: 496.1 kB / 0.9565 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.995e-05/0.1402, allocations: 11.98 kB / 0.9565 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.433e-05/0.1403, allocations: 19.92 kB / 0.9565 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.523e-05/0.1403, allocations: 59.66 kB / 0.9565 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1403, allocations: 0 / 0.9565 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001122/0.1404, allocations: 99.69 kB / 0.9566 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.1404, allocations: 4 kB / 0.9566 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1405, allocations: 4 kB / 0.9566 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1405, allocations: 0 / 0.9566 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.456e-05/0.1405, allocations: 23.92 kB / 0.9567 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.1405, allocations: 0 / 0.9567 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.786e-05/0.1406, allocations: 11.94 kB / 0.9567 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1406, allocations: 3.984 kB / 0.9567 GB, free: 12.62 MB / 0.9167 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.56e-05/0.1407, allocations: 164.6 kB / 0.9568 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.1407, allocations: 11.89 kB / 0.9569 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005146/0.1412, allocations: 248.1 kB / 0.9571 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.1412, allocations: 11.98 kB / 0.9571 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.1412, allocations: 0 / 0.9571 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.1412, allocations: 0 / 0.9571 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.1414, allocations: 177 kB / 0.9573 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.1414, allocations: 4 kB / 0.9573 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.343e-05/0.1414, allocations: 23.98 kB / 0.9573 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1414, allocations: 3.938 kB / 0.9573 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.1414, allocations: 7.938 kB / 0.9573 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.1414, allocations: 7.984 kB / 0.9573 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1414, allocations: 0 / 0.9573 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.1416, allocations: 323.4 kB / 0.9576 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.502e-05/0.1417, allocations: 27.77 kB / 0.9577 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.1417, allocations: 11.92 kB / 0.9577 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.903e-05/0.1417, allocations: 0 / 0.9577 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.1418, allocations: 7.984 kB / 0.9577 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.1418, allocations: 11.98 kB / 0.9577 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.264e-05/0.1418, allocations: 127.4 kB / 0.9578 GB, free: 11.4 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.1e-08/0.1418, allocations: 0 / 0.9578 GB, free: 11.4 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0006197/0.1424, allocations: 307.7 kB / 0.9581 GB, free: 11.1 MB / 0.9167 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.0008977/0.1433, allocations: 454.7 kB / 0.9585 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001211/0.1434, allocations: 83.52 kB / 0.9586 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1434, allocations: 0 / 0.9586 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.835e-05/0.1435, allocations: 75.52 kB / 0.9587 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.1437, allocations: 26.16 kB / 0.9587 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005419/0.1443, allocations: 286.2 kB / 0.959 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.296e-05/0.1443, allocations: 75.83 kB / 0.9591 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 8.156e-05/0.1444, allocations: 36.34 kB / 0.9591 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.462e-05/0.1445, allocations: 110.1 kB / 0.9592 GB, free: 9.918 MB / 0.9167 GB Notification: Performance of SimCode: time 9.72e-07/0.1445, allocations: 0 / 0.9592 GB, free: 9.918 MB / 0.9167 GB Notification: Performance of Templates: time 0.01176/0.1563, allocations: 11.39 MB / 0.9703 GB, free: 14.54 MB / 0.9323 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.4058839259669185]