Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.00117/0.00117, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001294/0.001294, allocations: 169 kB / 24.28 MB, free: 280 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.036/1.036, allocations: 177.1 MB / 204.6 MB, free: 5.648 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.879/1.879, allocations: 377.8 MB / 0.6239 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 177] 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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 0.8115 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.674e-05/2.905e-05, allocations: 7.969 kB / 0.8115 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004304/0.004334, allocations: 4.166 MB / 0.8156 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0001396/0.004473, allocations: 163.4 kB / 0.8157 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.707e-05/0.0045, allocations: 4 kB / 0.8157 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.004604, allocations: 0.5312 kB / 0.8157 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.874e-05/0.004673, allocations: 8.641 kB / 0.8157 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002865/0.00496, allocations: 93.66 kB / 0.8158 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.855e-05/0.005038, allocations: 35.84 kB / 0.8159 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.646e-05/0.005075, allocations: 3.984 kB / 0.8159 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.999e-05/0.005125, allocations: 20.59 kB / 0.8159 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.5e-05/0.00519, allocations: 12.91 kB / 0.8159 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.005201, allocations: 0 / 0.8159 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.005341, allocations: 52.48 kB / 0.8159 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.298e-05/0.005384, allocations: 4 kB / 0.8159 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.154e-05/0.005406, allocations: 16.52 kB / 0.816 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.005528, allocations: 59.81 kB / 0.816 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.005531, allocations: 5.359 kB / 0.816 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.12e-07/0.005531, allocations: 0 / 0.816 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.005536, allocations: 0 / 0.816 GB, free: 13.47 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003083/0.005844, allocations: 361.1 kB / 0.8164 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.005881, allocations: 8.031 kB / 0.8164 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/0.005931, allocations: 10.17 kB / 0.8164 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.838e-05/0.006029, allocations: 108.6 kB / 0.8165 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.922e-05/0.006089, allocations: 57.19 kB / 0.8165 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.0061, allocations: 4.375 kB / 0.8165 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.006216, allocations: 80.59 kB / 0.8166 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.006223, allocations: 1.156 kB / 0.8166 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.006232, allocations: 3.938 kB / 0.8166 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.006254, allocations: 0 / 0.8166 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.814e-05/0.006282, allocations: 14.3 kB / 0.8166 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.006622, allocations: 251.8 kB / 0.8169 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.43e-05/0.006656, allocations: 31 kB / 0.8169 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.711e-05/0.006673, allocations: 15.62 kB / 0.8169 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/0.006712, allocations: 8.047 kB / 0.8169 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.006734, allocations: 40.77 kB / 0.817 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.006734, allocations: 0 / 0.817 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001193/0.006854, allocations: 29.7 kB / 0.817 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.006886, allocations: 59.34 kB / 0.8171 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.324e-05/0.006959, allocations: 161.9 kB / 0.8172 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/0.006969, allocations: 25.7 kB / 0.8172 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.867e-05/0.007018, allocations: 142.7 kB / 0.8174 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.342e-06/0.007024, allocations: 7.953 kB / 0.8174 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.007051, allocations: 24.33 kB / 0.8174 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.007162, allocations: 492.1 kB / 0.8179 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.297e-06/0.007172, allocations: 4 kB / 0.8179 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.927e-05/0.007191, allocations: 19.88 kB / 0.8179 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.786e-05/0.007219, allocations: 28.48 kB / 0.8179 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.00722, allocations: 1.031 kB / 0.8179 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.056e-05/0.007271, allocations: 49.58 kB / 0.818 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.007283, allocations: 9.094 kB / 0.818 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.007288, allocations: 0 / 0.818 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.0073, allocations: 3.984 kB / 0.818 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.514e-05/0.007336, allocations: 4.656 kB / 0.818 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.007341, allocations: 0.5938 kB / 0.818 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.271e-05/0.007354, allocations: 4 kB / 0.818 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.007362, allocations: 1.344 kB / 0.818 GB, free: 11.23 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 6.583e-05/0.007428, allocations: 160.6 kB / 0.8181 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.007443, allocations: 12.77 kB / 0.8182 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.007545, allocations: 167.7 kB / 0.8183 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.822e-05/0.007603, allocations: 265.1 kB / 0.8186 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.509e-05/0.007668, allocations: 276 kB / 0.8188 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.778e-05/0.007726, allocations: 268.2 kB / 0.8191 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.007882, allocations: 0.4931 MB / 0.8196 GB, free: 9.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.041e-05/0.007913, allocations: 144.9 kB / 0.8197 GB, free: 9.371 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.217e-05/0.007945, allocations: 148.9 kB / 0.8199 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.033e-05/0.008005, allocations: 281.1 kB / 0.8201 GB, free: 8.938 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.236e-05/0.008068, allocations: 264.1 kB / 0.8204 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-05/0.008129, allocations: 268 kB / 0.8206 GB, free: 8.402 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.195e-05/0.008191, allocations: 269 kB / 0.8209 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.008327, allocations: 452 kB / 0.8213 GB, free: 7.664 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.028e-05/0.008367, allocations: 153.4 kB / 0.8215 GB, free: 7.508 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.361e-05/0.008441, allocations: 268 kB / 0.8217 GB, free: 7.238 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.605e-05/0.008537, allocations: 149.6 kB / 0.8219 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.943e-05/0.008606, allocations: 276.5 kB / 0.8221 GB, free: 6.809 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/0.008646, allocations: 148.9 kB / 0.8223 GB, free: 6.656 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.227e-05/0.008688, allocations: 128.7 kB / 0.8224 GB, free: 6.531 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008688, allocations: 0 / 0.8224 GB, free: 6.531 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001573/0.008846, allocations: 15.94 kB / 0.8224 GB, free: 6.516 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.000168/0.009014, allocations: 240 kB / 0.8226 GB, free: 6.273 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.127e-05/0.009085, allocations: 19.62 kB / 0.8226 GB, free: 6.25 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.009086, allocations: 0 / 0.8226 GB, free: 6.25 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.009087, allocations: 0 / 0.8226 GB, free: 6.25 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.009413, allocations: 0.7134 MB / 0.8233 GB, free: 5.535 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003878/0.009801, allocations: 233.5 kB / 0.8236 GB, free: 5.277 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.298e-05/0.009834, allocations: 55.3 kB / 0.8236 GB, free: 5.203 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.69e-05/0.00986, allocations: 8.312 kB / 0.8236 GB, free: 5.195 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.73e-05/0.009878, allocations: 12.5 kB / 0.8236 GB, free: 5.184 MB / 0.7761 GB Notification: Performance of SimCode: time 7.21e-07/0.009878, allocations: 0 / 0.8236 GB, free: 5.184 MB / 0.7761 GB Notification: Performance of Templates: time 0.002106/0.01198, allocations: 0.6911 MB / 0.8243 GB, free: 4.508 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.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.1990057160146534]