Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|temPro.TEva|temPro.TEvaMin|temPro.errLowPre|temPro.TCon|temPro.TConMax|temPro.errHigPre|temPro.errNegTemDif",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|temPro.TEva|temPro.TEvaMin|temPro.errLowPre|temPro.TCon|temPro.TConMax|temPro.errHigPre|temPro.errNegTemDif",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.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 7.0.3-maint.7.0.x/package.mo): time 1.197/1.197, allocations: 249.4 MB / 256.7 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 177 kB / 316 MB, free: 3.523 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.057/1.057, allocations: 205.1 MB / 0.5667 GB, free: 15.57 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008464/0.0008465, allocations: 91.31 kB / 0.671 GB, free: 4.688 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.893e-06/6.912e-06, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1413, allocations: 106.3 MB / 0.8846 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4175/0.5589, allocations: 135 MB / 1.016 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/0.5591, allocations: 90.69 kB / 1.016 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.008075/0.5672, allocations: 2.988 MB / 1.019 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.46e-05/0.5673, allocations: 4 kB / 1.019 GB, free: 1.094 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0005653/0.5678, allocations: 487 kB / 1.02 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.5679, allocations: 8.031 kB / 1.02 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.971e-05/0.5679, allocations: 30.45 kB / 1.02 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.5682, allocations: 239.8 kB / 1.02 GB, free: 296 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.5682, allocations: 12 kB / 1.02 GB, free: 284 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.5683, allocations: 8 kB / 1.02 GB, free: 276 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002222/0.5685, allocations: 110.9 kB / 1.02 GB, free: 208 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/0.5688, allocations: 182.7 kB / 1.02 GB, free: 48 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.5688, allocations: 0 / 1.02 GB, free: 48 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.5688, allocations: 0 / 1.02 GB, free: 48 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.5688, allocations: 4 kB / 1.02 GB, free: 44 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007957/0.5696, allocations: 0.5643 MB / 1.021 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/0.5699, allocations: 107.1 kB / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.564e-05/0.57, allocations: 46.58 kB / 1.021 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.942e-05/0.5701, allocations: 7.984 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.5701, allocations: 30.56 kB / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.5701, allocations: 0 / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0002601/0.5704, allocations: 108.3 kB / 1.021 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.5704, allocations: 132.5 kB / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.5706, allocations: 158.1 kB / 1.022 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.5706, allocations: 25.7 kB / 1.022 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.797e-05/0.5707, allocations: 139.4 kB / 1.022 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.5707, allocations: 26.3 kB / 1.022 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.665e-06/0.5707, allocations: 0 / 1.022 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.73e-05/0.5708, allocations: 326.1 kB / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.027e-05/0.5709, allocations: 35.81 kB / 1.022 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.875e-05/0.571, allocations: 67.42 kB / 1.022 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.005e-05/0.571, allocations: 33.25 kB / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.571, allocations: 0 / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002019/0.5712, allocations: 126.3 kB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.5713, allocations: 4 kB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.5713, allocations: 96 / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.5713, allocations: 3.938 kB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.5714, allocations: 19.98 kB / 1.022 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.5714, allocations: 0 / 1.022 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.5716, allocations: 39.88 kB / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.5716, allocations: 11.38 kB / 1.022 GB, free: 14.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.temPro.hysHig.y,temPro.hysHig.y,$PRE.temPro.hysLow.y,temPro.hysLow.y,temPro.on.y,$PRE.temPro.hysdTConEva.y,temPro.hysdTConEva.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.517e-05/0.5717, allocations: 109 kB / 1.022 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.5717, allocations: 15.81 kB / 1.022 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002272/0.572, allocations: 122.4 kB / 1.023 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.572, allocations: 0 / 1.023 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.572, allocations: 0 / 1.023 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.572, allocations: 7.984 kB / 1.023 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.5722, allocations: 238.6 kB / 1.023 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5722, allocations: 0 / 1.023 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.5723, allocations: 19.94 kB / 1.023 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.5723, allocations: 4.031 kB / 1.023 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.5724, allocations: 3.984 kB / 1.023 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.5724, allocations: 4 kB / 1.023 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5724, allocations: 0 / 1.023 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000206/0.5726, allocations: 203.6 kB / 1.023 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.685e-05/0.5726, allocations: 92.92 kB / 1.023 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.5727, allocations: 7.422 kB / 1.023 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.5729, allocations: 35.89 kB / 1.023 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.937e-05/0.573, allocations: 31.81 kB / 1.023 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.573, allocations: 0 / 1.023 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.666e-05/0.5731, allocations: 127 kB / 1.023 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002523/0.5733, allocations: 35.84 kB / 1.023 GB, free: 13.18 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (temPro.hysHig.y,temPro.hysLow.y,temPro.on.y,temPro.hysdTConEva.y) * Number of discrete states: 3 (temPro.hysdTConEva.y,temPro.hysLow.y,temPro.hysHig.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000135/0.5735, allocations: 119 kB / 1.024 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001707/0.5736, allocations: 85.44 kB / 1.024 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.5737, allocations: 0 / 1.024 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.469e-05/0.5737, allocations: 53.3 kB / 1.024 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.5739, allocations: 7.938 kB / 1.024 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000439/0.5744, allocations: 197.1 kB / 1.024 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003304/0.5747, allocations: 0.7581 MB / 1.025 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/0.5747, allocations: 0 / 1.025 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of Templates: time 0.004121/0.5789, allocations: 1.863 MB / 1.026 GB, free: 10.18 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches