Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.errNegTemDif|heaPum.errHigPre|heaPum.errLowPre|heaPum.com.isOn|heaPum.TEvaMin|heaPum.eva.vol.T|heaPum.con.T|heaPum.TConMax|heaPum.QCon_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.errNegTemDif|heaPum.errHigPre|heaPum.errLowPre|heaPum.com.isOn|heaPum.TEvaMin|heaPum.eva.vol.T|heaPum.con.T|heaPum.TConMax|heaPum.QCon_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.031/2.031, allocations: 387.2 MB / 394.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 177.3 kB / 487 MB, free: 5.383 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 221.3 MB / 0.7819 GB, free: 1.395 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 86.19 kB / 0.9213 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.646e-06/8.686e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2896, allocations: 142.3 MB / 1.205 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.114/1.404, allocations: 434.8 MB / 1.63 GB, free: 5.195 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/1.404, allocations: 99.8 kB / 1.63 GB, free: 5.145 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.519/3.923, allocations: 0.5632 GB / 2.193 GB, free: 235.1 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0001731/3.923, allocations: 49.77 kB / 2.193 GB, free: 235.1 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.004374/3.928, allocations: 1.995 MB / 2.195 GB, free: 234.4 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/3.928, allocations: 8.938 kB / 2.195 GB, free: 234.4 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005303/3.933, allocations: 0.729 MB / 2.196 GB, free: 234.3 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004028/3.937, allocations: 1.886 MB / 2.198 GB, free: 234 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/3.937, allocations: 91.77 kB / 2.198 GB, free: 234 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001906/3.938, allocations: 81.78 kB / 2.198 GB, free: 234 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00216/3.94, allocations: 1.16 MB / 2.199 GB, free: 233.9 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002241/3.942, allocations: 1.447 MB / 2.2 GB, free: 233.7 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.697e-05/3.942, allocations: 3 kB / 2.2 GB, free: 233.7 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/3.942, allocations: 3.562 kB / 2.2 GB, free: 233.7 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.33e-05/3.942, allocations: 62.2 kB / 2.2 GB, free: 233.7 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01102/3.953, allocations: 7.644 MB / 2.208 GB, free: 230.3 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009706/3.954, allocations: 0.6191 MB / 2.209 GB, free: 230.3 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005045/3.955, allocations: 374.4 kB / 2.209 GB, free: 230.3 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001081/3.956, allocations: 1.27 MB / 2.21 GB, free: 228.9 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/3.956, allocations: 43.66 kB / 2.21 GB, free: 228.9 MB / 1.135 GB Notification: Performance of pre-optimization done (n=77): time 4.318e-06/3.956, allocations: 3.281 kB / 2.21 GB, free: 228.9 MB / 1.135 GB Notification: Performance of matching and sorting (n=77): time 0.004055/3.96, allocations: 1.009 MB / 2.211 GB, free: 228.7 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/3.96, allocations: 190.3 kB / 2.211 GB, free: 228.5 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/3.962, allocations: 1.032 MB / 2.212 GB, free: 228.4 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.000157/3.962, allocations: 32.39 kB / 2.212 GB, free: 228.3 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004618/3.962, allocations: 0.5658 MB / 2.213 GB, free: 228.1 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002446/3.962, allocations: 259.3 kB / 2.213 GB, free: 227.9 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-05/3.963, allocations: 0 / 2.213 GB, free: 227.9 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 8.226e-05/3.963, allocations: 341.2 kB / 2.213 GB, free: 227.6 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005542/3.963, allocations: 359.8 kB / 2.214 GB, free: 227.6 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006995/3.964, allocations: 0.651 MB / 2.214 GB, free: 227.3 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/3.965, allocations: 454.3 kB / 2.215 GB, free: 227.3 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/3.965, allocations: 3.812 kB / 2.215 GB, free: 227.3 MB / 1.135 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004206/3.969, allocations: 1.278 MB / 2.216 GB, free: 227.2 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004932/3.97, allocations: 2.47 MB / 2.219 GB, free: 224.6 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/3.97, allocations: 7.656 kB / 2.219 GB, free: 224.6 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008246/3.971, allocations: 363 kB / 2.219 GB, free: 224.6 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/3.972, allocations: 280.9 kB / 2.219 GB, free: 224.6 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/3.974, allocations: 0.9695 MB / 2.22 GB, free: 224.1 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0028/3.976, allocations: 258.4 kB / 2.22 GB, free: 224.1 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/3.977, allocations: 61.2 kB / 2.22 GB, free: 224.1 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/3.977, allocations: 7.812 kB / 2.22 GB, free: 224.1 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004196/3.981, allocations: 1.107 MB / 2.222 GB, free: 224 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/3.981, allocations: 6.719 kB / 2.222 GB, free: 224 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007313/3.982, allocations: 357.3 kB / 2.222 GB, free: 224 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/3.983, allocations: 280.8 kB / 2.222 GB, free: 224 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/3.984, allocations: 0.9676 MB / 2.223 GB, free: 223.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002517/3.987, allocations: 222 kB / 2.223 GB, free: 223.5 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/3.987, allocations: 58.3 kB / 2.223 GB, free: 223.5 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum.temPro.hysHig.y,heaPum.temPro.hysHig.y,$PRE.heaPum.temPro.hysLow.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,$PRE.heaPum.temPro.hysdTConEva.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0003646/3.987, allocations: 134.9 kB / 2.223 GB, free: 223.4 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002821/3.988, allocations: 135.2 kB / 2.224 GB, free: 223.3 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004132/3.992, allocations: 1.1 MB / 2.225 GB, free: 223.2 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/3.992, allocations: 11.12 kB / 2.225 GB, free: 223.2 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/3.992, allocations: 0 / 2.225 GB, free: 223.2 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00334/3.995, allocations: 0.9627 MB / 2.226 GB, free: 223 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007637/4.003, allocations: 2.828 MB / 2.228 GB, free: 222.6 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/4.003, allocations: 3.594 kB / 2.228 GB, free: 222.6 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/4.004, allocations: 176.7 kB / 2.229 GB, free: 222.6 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007402/4.005, allocations: 357 kB / 2.229 GB, free: 222.6 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-05/4.005, allocations: 25.44 kB / 2.229 GB, free: 222.6 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001164/4.006, allocations: 0.9549 MB / 2.23 GB, free: 222.1 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/4.006, allocations: 7.156 kB / 2.23 GB, free: 222.1 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01127/4.017, allocations: 2.38 MB / 2.232 GB, free: 221.5 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/4.018, allocations: 400.6 kB / 2.233 GB, free: 221.3 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002614/4.019, allocations: 10.66 kB / 2.233 GB, free: 221.3 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001896/4.021, allocations: 168.2 kB / 2.233 GB, free: 221.3 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/4.021, allocations: 74.34 kB / 2.233 GB, free: 221.3 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/4.021, allocations: 50.98 kB / 2.233 GB, free: 221.3 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.001127/4.022, allocations: 0.7831 MB / 2.234 GB, free: 221.2 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.00316/4.025, allocations: 1.026 MB / 2.235 GB, free: 221 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 5 (heaPum.com.isOn,heaPum.temPro.hysHig.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 4 (heaPum.temPro.hysLow.y,heaPum.temPro.hysHig.y,heaPum.temPro.hysdTConEva.y,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001821/4.027, allocations: 0.9001 MB / 2.236 GB, free: 220.8 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.002615/4.03, allocations: 1.444 MB / 2.237 GB, free: 220.8 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/4.03, allocations: 3.812 kB / 2.237 GB, free: 220.8 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0007837/4.03, allocations: 479.3 kB / 2.237 GB, free: 220.7 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002762/4.033, allocations: 0.5729 MB / 2.238 GB, free: 220.7 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005327/4.039, allocations: 2.172 MB / 2.24 GB, free: 220.1 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/4.04, allocations: 1.461 MB / 2.241 GB, free: 219.4 MB / 1.135 GB Notification: Performance of SimCode: time 1.062e-06/4.04, allocations: 0 / 2.241 GB, free: 219.4 MB / 1.135 GB Notification: Performance of Templates: time 0.06254/4.102, allocations: 42.3 MB / 2.283 GB, free: 218.6 MB / 1.135 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection.csv","../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches