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.0009766/0.0009766, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009708/0.0009708, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.9526/0.9526, allocations: 177.2 MB / 203.7 MB, free: 5.504 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.303/2.303, allocations: 438.1 MB / 0.682 GB, free: 14.2 MB / 0.6511 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 2.094e-06/2.094e-06, allocations: 0 / 0.8897 GB, free: 9.828 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.454e-05/1.663e-05, allocations: 5.406 kB / 0.8897 GB, free: 9.824 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1208/0.1208, allocations: 128.8 MB / 1.016 GB, free: 8.5 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.007991/0.1288, allocations: 7.851 MB / 1.023 GB, free: 0.6211 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.783e-05/0.1289, allocations: 0 / 1.023 GB, free: 0.6211 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.129, allocations: 23.84 kB / 1.023 GB, free: 0.5977 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 4.112e-05/0.1291, allocations: 15.84 kB / 1.023 GB, free: 0.582 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002666/0.1317, allocations: 1.471 MB / 1.025 GB, free: 15.11 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.1319, allocations: 83.58 kB / 1.025 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.373e-05/0.1319, allocations: 3.984 kB / 1.025 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.132, allocations: 59.88 kB / 1.025 GB, free: 14.96 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.636e-05/0.1321, allocations: 23.91 kB / 1.025 GB, free: 14.94 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.1321, allocations: 4 kB / 1.025 GB, free: 14.93 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0032/0.1353, allocations: 2.625 MB / 1.027 GB, free: 12.3 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.1353, allocations: 11.92 kB / 1.027 GB, free: 12.29 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 3.052e-05/0.1354, allocations: 23.97 kB / 1.027 GB, free: 12.27 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001829/0.1372, allocations: 1.797 MB / 1.029 GB, free: 10.47 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1372, allocations: 0 / 1.029 GB, free: 10.47 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1372, allocations: 0 / 1.029 GB, free: 10.47 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.1372, allocations: 0 / 1.029 GB, free: 10.47 MB / 0.9948 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.0007186/0.1379, allocations: 0.5304 MB / 1.03 GB, free: 9.902 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.138, allocations: 12.62 kB / 1.03 GB, free: 9.891 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003016/0.1383, allocations: 40.69 kB / 1.03 GB, free: 9.852 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.121e-05/0.1383, allocations: 124.5 kB / 1.03 GB, free: 9.703 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.793e-05/0.1384, allocations: 51.97 kB / 1.03 GB, free: 9.641 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.1384, allocations: 12.38 kB / 1.03 GB, free: 9.629 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/0.1387, allocations: 140.3 kB / 1.03 GB, free: 9.477 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1387, allocations: 0 / 1.03 GB, free: 9.477 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1387, allocations: 4 kB / 1.03 GB, free: 9.473 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.1387, allocations: 4 kB / 1.03 GB, free: 9.469 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001777/0.1389, allocations: 79.84 kB / 1.03 GB, free: 9.391 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.1392, allocations: 304.2 kB / 1.03 GB, free: 9.066 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.1394, allocations: 111.1 kB / 1.031 GB, free: 8.945 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.041e-05/0.1394, allocations: 39.61 kB / 1.031 GB, free: 8.902 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006003/0.1454, allocations: 2.59 MB / 1.033 GB, free: 6.309 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.1454, allocations: 41.39 kB / 1.033 GB, free: 6.258 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.1454, allocations: 0 / 1.033 GB, free: 6.258 MB / 0.9948 GB Notification: Performance of matching and sorting (n=13): time 0.0003672/0.1458, allocations: 153.1 kB / 1.033 GB, free: 6.105 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.1458, allocations: 55.41 kB / 1.033 GB, free: 6.039 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.555e-05/0.1459, allocations: 157.9 kB / 1.033 GB, free: 5.867 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.1459, allocations: 25.7 kB / 1.034 GB, free: 5.836 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 4.868e-05/0.146, allocations: 130.9 kB / 1.034 GB, free: 5.703 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.146, allocations: 51.52 kB / 1.034 GB, free: 5.652 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.1461, allocations: 35.36 kB / 1.034 GB, free: 5.609 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1462, allocations: 0.4884 MB / 1.034 GB, free: 5.109 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.412e-05/0.1462, allocations: 12 kB / 1.034 GB, free: 5.098 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.554e-05/0.1463, allocations: 19.98 kB / 1.034 GB, free: 5.078 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.907e-05/0.1463, allocations: 59.59 kB / 1.034 GB, free: 5.016 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1463, allocations: 0 / 1.034 GB, free: 5.016 MB / 0.9948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001452/0.1465, allocations: 97.56 kB / 1.034 GB, free: 4.914 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1465, allocations: 4 kB / 1.034 GB, free: 4.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1465, allocations: 0 / 1.034 GB, free: 4.91 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.1465, allocations: 0 / 1.034 GB, free: 4.91 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-05/0.1466, allocations: 23.98 kB / 1.034 GB, free: 4.887 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.1466, allocations: 0 / 1.034 GB, free: 4.887 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.018e-05/0.1466, allocations: 7.891 kB / 1.034 GB, free: 4.879 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.1466, allocations: 15.98 kB / 1.034 GB, free: 4.863 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 0.0002278/0.1469, allocations: 160.5 kB / 1.035 GB, free: 4.695 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.306e-05/0.1469, allocations: 15.89 kB / 1.035 GB, free: 4.68 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002742/0.1472, allocations: 240.2 kB / 1.035 GB, free: 4.438 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.1472, allocations: 7.984 kB / 1.035 GB, free: 4.43 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.1472, allocations: 0 / 1.035 GB, free: 4.43 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1472, allocations: 0 / 1.035 GB, free: 4.43 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.1474, allocations: 181 kB / 1.035 GB, free: 4.227 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.1474, allocations: 0 / 1.035 GB, free: 4.227 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.775e-05/0.1475, allocations: 23.92 kB / 1.035 GB, free: 4.203 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1475, allocations: 11.94 kB / 1.035 GB, free: 4.191 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.1475, allocations: 7.984 kB / 1.035 GB, free: 4.184 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1475, allocations: 0 / 1.035 GB, free: 4.184 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.1475, allocations: 0 / 1.035 GB, free: 4.184 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.1477, allocations: 319.4 kB / 1.035 GB, free: 3.852 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.1478, allocations: 35.8 kB / 1.035 GB, free: 3.816 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.1478, allocations: 3.938 kB / 1.035 GB, free: 3.812 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.091e-05/0.1479, allocations: 8 kB / 1.035 GB, free: 3.805 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.821e-05/0.1479, allocations: 11.92 kB / 1.035 GB, free: 3.793 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.1479, allocations: 7.984 kB / 1.035 GB, free: 3.785 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 3.515e-05/0.1479, allocations: 123.4 kB / 1.036 GB, free: 3.664 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.1479, allocations: 4 kB / 1.036 GB, free: 3.66 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0005916/0.1485, allocations: 315.6 kB / 1.036 GB, free: 3.352 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.0009593/0.1495, allocations: 446.7 kB / 1.036 GB, free: 2.906 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.1496, allocations: 91.56 kB / 1.036 GB, free: 2.816 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1496, allocations: 4 kB / 1.036 GB, free: 2.812 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 5.585e-05/0.1496, allocations: 63.64 kB / 1.036 GB, free: 2.746 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.1499, allocations: 29.28 kB / 1.036 GB, free: 2.719 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005575/0.1504, allocations: 286.2 kB / 1.037 GB, free: 2.41 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.476e-05/0.1505, allocations: 72.73 kB / 1.037 GB, free: 2.32 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 7.903e-05/0.1506, allocations: 32.41 kB / 1.037 GB, free: 2.289 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.548e-05/0.1506, allocations: 110.2 kB / 1.037 GB, free: 2.18 MB / 0.9948 GB Notification: Performance of SimCode: time 7.92e-07/0.1506, allocations: 0 / 1.037 GB, free: 2.18 MB / 0.9948 GB Notification: Performance of Templates: time 0.01101/0.1617, allocations: 11.4 MB / 1.048 GB, free: 6.793 MB / 1.01 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: 6.082599367015064]