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.001144/0.001144, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0012/0.0012, allocations: 169.3 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.039/1.039, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.033/2.033, allocations: 377.8 MB / 0.6239 GB, free: 8.57 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.703e-06/1.703e-06, allocations: 0 / 0.8115 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.636e-05/2.806e-05, allocations: 3.594 kB / 0.8115 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.00587/0.005898, allocations: 3.853 MB / 0.8153 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0001542/0.006052, allocations: 161.8 kB / 0.8154 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.081e-05/0.006083, allocations: 0 / 0.8154 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.006197, allocations: 4 kB / 0.8154 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.544e-05/0.006282, allocations: 15.91 kB / 0.8154 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003585/0.006641, allocations: 81.91 kB / 0.8155 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.853e-05/0.006729, allocations: 27.86 kB / 0.8155 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.006773, allocations: 11.92 kB / 0.8155 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.435e-05/0.006827, allocations: 20.42 kB / 0.8156 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.2e-05/0.006899, allocations: 12.7 kB / 0.8156 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.006913, allocations: 0 / 0.8156 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005363/0.007449, allocations: 212.6 kB / 0.8158 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.74e-05/0.007497, allocations: 7.984 kB / 0.8158 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/0.007523, allocations: 8.844 kB / 0.8158 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.007663, allocations: 67.73 kB / 0.8159 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.007666, allocations: 0 / 0.8159 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.002e-06/0.007667, allocations: 5.594 kB / 0.8159 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.007672, allocations: 0 / 0.8159 GB, free: 13.67 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.0004637/0.008136, allocations: 360.3 kB / 0.8162 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.008173, allocations: 8.031 kB / 0.8162 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.081e-05/0.008224, allocations: 10.17 kB / 0.8162 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.384e-05/0.008318, allocations: 108.6 kB / 0.8163 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.807e-05/0.008386, allocations: 58.09 kB / 0.8164 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.008397, allocations: 384 / 0.8164 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.008535, allocations: 84.59 kB / 0.8165 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.008543, allocations: 192 / 0.8165 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.008554, allocations: 3.938 kB / 0.8165 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/0.008582, allocations: 2.219 kB / 0.8165 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.123e-05/0.008613, allocations: 8 kB / 0.8165 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003547/0.008968, allocations: 255.8 kB / 0.8167 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.899e-05/0.009007, allocations: 27.06 kB / 0.8167 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.748e-05/0.009025, allocations: 15.56 kB / 0.8168 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.103e-05/0.009076, allocations: 12.56 kB / 0.8168 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.009099, allocations: 34.33 kB / 0.8168 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 1.944e-06/0.009101, allocations: 3.984 kB / 0.8168 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.00015/0.009251, allocations: 39.38 kB / 0.8168 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.009278, allocations: 51.41 kB / 0.8169 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.794e-05/0.009356, allocations: 161.9 kB / 0.8171 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.009368, allocations: 25.7 kB / 0.8171 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.869e-05/0.009416, allocations: 139.3 kB / 0.8172 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.043e-06/0.009423, allocations: 7.891 kB / 0.8172 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/0.009451, allocations: 24.72 kB / 0.8172 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.009556, allocations: 492.1 kB / 0.8177 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.277e-05/0.009569, allocations: 7.938 kB / 0.8177 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.127e-05/0.00959, allocations: 27.89 kB / 0.8177 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.976e-05/0.00962, allocations: 20.59 kB / 0.8178 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.009622, allocations: 0 / 0.8178 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.44e-05/0.009686, allocations: 54.22 kB / 0.8178 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.009702, allocations: 11.41 kB / 0.8178 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.009707, allocations: 0 / 0.8178 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.009719, allocations: 0 / 0.8178 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.327e-05/0.009763, allocations: 4 kB / 0.8178 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.009768, allocations: 0 / 0.8178 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.309e-05/0.009781, allocations: 4 kB / 0.8178 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.009791, allocations: 0 / 0.8178 GB, free: 11.43 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.971e-05/0.009861, allocations: 160.6 kB / 0.818 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.834e-05/0.009879, allocations: 11.89 kB / 0.818 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.009991, allocations: 165.9 kB / 0.8182 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-05/0.01005, allocations: 264.1 kB / 0.8184 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.237e-05/0.01011, allocations: 276 kB / 0.8187 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.205e-05/0.01017, allocations: 268.1 kB / 0.8189 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.01033, allocations: 495.9 kB / 0.8194 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.435e-05/0.01036, allocations: 157.8 kB / 0.8196 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.433e-05/0.0104, allocations: 148.9 kB / 0.8197 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.16e-05/0.01046, allocations: 277.2 kB / 0.82 GB, free: 9.141 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.471e-05/0.01053, allocations: 268.1 kB / 0.8202 GB, free: 8.871 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.836e-05/0.01059, allocations: 272 kB / 0.8205 GB, free: 8.598 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.423e-05/0.01065, allocations: 265.2 kB / 0.8207 GB, free: 8.332 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.01077, allocations: 448 kB / 0.8212 GB, free: 7.867 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.01081, allocations: 152.8 kB / 0.8213 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.599e-05/0.01088, allocations: 269.1 kB / 0.8216 GB, free: 7.441 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.01099, allocations: 152.9 kB / 0.8217 GB, free: 7.285 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.015e-05/0.01105, allocations: 264.1 kB / 0.822 GB, free: 7.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/0.01108, allocations: 158.9 kB / 0.8221 GB, free: 6.859 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.318e-05/0.01113, allocations: 131.2 kB / 0.8222 GB, free: 6.73 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01113, allocations: 0 / 0.8222 GB, free: 6.73 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001768/0.01131, allocations: 15.94 kB / 0.8222 GB, free: 6.715 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.0001693/0.01148, allocations: 239.2 kB / 0.8225 GB, free: 6.473 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.19e-05/0.01156, allocations: 15.69 kB / 0.8225 GB, free: 6.453 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01156, allocations: 0 / 0.8225 GB, free: 6.453 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.557e-06/0.01157, allocations: 7.938 kB / 0.8225 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.01197, allocations: 0.7077 MB / 0.8232 GB, free: 5.734 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004315/0.01241, allocations: 245.5 kB / 0.8234 GB, free: 5.465 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.231e-05/0.01244, allocations: 51.67 kB / 0.8235 GB, free: 5.395 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.35e-05/0.01247, allocations: 11.98 kB / 0.8235 GB, free: 5.383 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.98e-05/0.01249, allocations: 12.5 kB / 0.8235 GB, free: 5.371 MB / 0.7761 GB Notification: Performance of SimCode: time 8.82e-07/0.01249, allocations: 0 / 0.8235 GB, free: 5.371 MB / 0.7761 GB Notification: Performance of Templates: time 0.00238/0.01487, allocations: 0.6851 MB / 0.8242 GB, free: 4.695 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.405060768825933]