Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.0009248/0.0009248, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001466/0.001466, allocations: 165 kB / 23.82 MB, free: 0.7461 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 1.008/1.008, allocations: 177.1 MB / 204.2 MB, free: 5.633 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 2.015/2.015, allocations: 377.8 MB / 0.6236 GB, free: 8.523 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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.8115 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.319e-05/2.512e-05, allocations: 5.125 kB / 0.8115 GB, free: 1.758 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004267/0.004292, allocations: 3.855 MB / 0.8153 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0001594/0.004451, allocations: 153.5 kB / 0.8154 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.414e-05/0.004475, allocations: 0 / 0.8154 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.004591, allocations: 13.02 kB / 0.8154 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.083e-05/0.004672, allocations: 7.984 kB / 0.8154 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.004995, allocations: 88.98 kB / 0.8155 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.927e-05/0.005095, allocations: 37.59 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.005135, allocations: 4 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.899e-05/0.005184, allocations: 15.98 kB / 0.8156 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.22e-05/0.005256, allocations: 15.91 kB / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.005271, allocations: 4 kB / 0.8156 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004827/0.005754, allocations: 208.3 kB / 0.8158 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.979e-05/0.005803, allocations: 13.55 kB / 0.8158 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.005828, allocations: 7.984 kB / 0.8158 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.005956, allocations: 67.73 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.005958, allocations: 0 / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.82e-07/0.005959, allocations: 0 / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.005963, allocations: 0.625 kB / 0.8159 GB, free: 13.3 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.0003705/0.006334, allocations: 360.9 kB / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.00637, allocations: 8.031 kB / 0.8162 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.006413, allocations: 5.797 kB / 0.8162 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.291e-05/0.006495, allocations: 117.1 kB / 0.8163 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.663e-05/0.006562, allocations: 53.34 kB / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.006578, allocations: 4.375 kB / 0.8164 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.006736, allocations: 72.66 kB / 0.8165 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.006745, allocations: 6.75 kB / 0.8165 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.006758, allocations: 3.938 kB / 0.8165 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.384e-05/0.006792, allocations: 3.984 kB / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.163e-05/0.006824, allocations: 7.938 kB / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007066/0.00753, allocations: 255.8 kB / 0.8167 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.033e-05/0.007571, allocations: 27.06 kB / 0.8168 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.626e-05/0.007587, allocations: 19.67 kB / 0.8168 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.484e-05/0.007632, allocations: 9.234 kB / 0.8168 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.007671, allocations: 37.39 kB / 0.8168 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 1.463e-06/0.007672, allocations: 1.031 kB / 0.8168 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.000173/0.007845, allocations: 33.64 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.007877, allocations: 52.53 kB / 0.8169 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.007982, allocations: 165.9 kB / 0.8171 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.007994, allocations: 25.7 kB / 0.8171 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.78e-05/0.008052, allocations: 139.7 kB / 0.8172 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.097e-06/0.008061, allocations: 7.953 kB / 0.8172 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.008093, allocations: 20.08 kB / 0.8172 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.008205, allocations: 0.4884 MB / 0.8177 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.979e-06/0.008215, allocations: 3.781 kB / 0.8177 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.221e-05/0.008238, allocations: 19.38 kB / 0.8177 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.307e-05/0.008271, allocations: 31.3 kB / 0.8178 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.008273, allocations: 0 / 0.8178 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.891e-05/0.008332, allocations: 49.58 kB / 0.8178 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.008347, allocations: 7.938 kB / 0.8178 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.008352, allocations: 3.984 kB / 0.8178 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.008369, allocations: 4 kB / 0.8178 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.046e-05/0.00841, allocations: 5.406 kB / 0.8178 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.008415, allocations: 0 / 0.8178 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.623e-05/0.008431, allocations: 0 / 0.8178 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.008441, allocations: 5 kB / 0.8178 GB, free: 11.05 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 7.024e-05/0.008511, allocations: 160.5 kB / 0.818 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.008528, allocations: 12.95 kB / 0.818 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.008648, allocations: 167.7 kB / 0.8182 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.453e-05/0.008713, allocations: 269.2 kB / 0.8184 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.538e-05/0.008778, allocations: 264.1 kB / 0.8187 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.401e-05/0.008852, allocations: 272 kB / 0.8189 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.009046, allocations: 0.4931 MB / 0.8194 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.502e-05/0.009091, allocations: 152.8 kB / 0.8196 GB, free: 9.191 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.236e-05/0.009133, allocations: 144.9 kB / 0.8197 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.556e-05/0.009199, allocations: 276.8 kB / 0.82 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.634e-05/0.009265, allocations: 272 kB / 0.8202 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.28e-05/0.009328, allocations: 265.9 kB / 0.8205 GB, free: 8.227 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-05/0.00939, allocations: 272 kB / 0.8207 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.009521, allocations: 444 kB / 0.8212 GB, free: 7.492 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.888e-05/0.00956, allocations: 152.8 kB / 0.8213 GB, free: 7.336 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.101e-05/0.009631, allocations: 268.1 kB / 0.8216 GB, free: 7.066 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.009738, allocations: 154.2 kB / 0.8217 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.307e-05/0.009821, allocations: 272.1 kB / 0.822 GB, free: 6.637 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.419e-05/0.009855, allocations: 144.9 kB / 0.8221 GB, free: 6.488 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.903e-05/0.009894, allocations: 128.2 kB / 0.8222 GB, free: 6.363 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.009894, allocations: 4 kB / 0.8222 GB, free: 6.359 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000171/0.01007, allocations: 15.94 kB / 0.8223 GB, free: 6.344 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.0001759/0.01024, allocations: 238.8 kB / 0.8225 GB, free: 6.102 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.44e-05/0.01033, allocations: 18.59 kB / 0.8225 GB, free: 6.082 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01033, allocations: 0 / 0.8225 GB, free: 6.082 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.093e-06/0.01033, allocations: 0 / 0.8225 GB, free: 6.082 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.01072, allocations: 0.7101 MB / 0.8232 GB, free: 5.367 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005218/0.01124, allocations: 246.6 kB / 0.8234 GB, free: 5.098 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.3e-05/0.01128, allocations: 55.36 kB / 0.8235 GB, free: 5.023 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.313e-05/0.01132, allocations: 5.594 kB / 0.8235 GB, free: 5.02 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.15e-05/0.01134, allocations: 8.5 kB / 0.8235 GB, free: 5.012 MB / 0.7761 GB Notification: Performance of SimCode: time 7.51e-07/0.01134, allocations: 0.6562 kB / 0.8235 GB, free: 5.012 MB / 0.7761 GB Notification: Performance of Templates: time 0.002844/0.01418, allocations: 0.6941 MB / 0.8242 GB, free: 4.328 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.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.425281083211303]