Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.075/2.075, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.001064/0.001064, allocations: 181.2 kB / 487 MB, free: 5.375 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.546/1.546, allocations: 221.3 MB / 0.7819 GB, free: 1.375 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.0009618/0.0009619, allocations: 100.3 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.871e-06/5.901e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.263, allocations: 142.4 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7101/0.9731, allocations: 151.4 MB / 1.353 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.9734, allocations: 90.5 kB / 1.353 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.009488/0.9829, allocations: 3.033 MB / 1.356 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.769e-05/0.983, allocations: 4.188 kB / 1.356 GB, free: 15.55 MB / 0.8073 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.000589/0.9836, allocations: 488.2 kB / 1.357 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.9836, allocations: 9.469 kB / 1.357 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.522e-05/0.9837, allocations: 24.62 kB / 1.357 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.984, allocations: 230.8 kB / 1.357 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.984, allocations: 6.094 kB / 1.357 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.9841, allocations: 10.69 kB / 1.357 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002761/0.9843, allocations: 107.7 kB / 1.357 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003358/0.9847, allocations: 195.5 kB / 1.357 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.9847, allocations: 0 / 1.357 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.9847, allocations: 4.562 kB / 1.357 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.9848, allocations: 4.188 kB / 1.357 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009449/0.9857, allocations: 0.557 MB / 1.358 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/0.986, allocations: 116.9 kB / 1.358 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.518e-05/0.9861, allocations: 38.22 kB / 1.358 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.402e-05/0.9862, allocations: 5.844 kB / 1.358 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.9862, allocations: 37.3 kB / 1.358 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.9862, allocations: 0 / 1.358 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0003037/0.9865, allocations: 107.1 kB / 1.358 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.9866, allocations: 131.9 kB / 1.358 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.9867, allocations: 163.2 kB / 1.358 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.9867, allocations: 27.98 kB / 1.358 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.9868, allocations: 135.5 kB / 1.358 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.9868, allocations: 22.22 kB / 1.358 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.647e-06/0.9869, allocations: 0.9375 kB / 1.358 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.021e-05/0.9869, allocations: 333.5 kB / 1.359 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.337e-05/0.987, allocations: 36.22 kB / 1.359 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.182e-05/0.9871, allocations: 68.97 kB / 1.359 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.688e-05/0.9872, allocations: 34 kB / 1.359 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.9872, allocations: 0 / 1.359 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002145/0.9874, allocations: 117.1 kB / 1.359 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.9874, allocations: 9.094 kB / 1.359 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.9874, allocations: 2.109 kB / 1.359 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.9875, allocations: 1.156 kB / 1.359 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.9876, allocations: 27.45 kB / 1.359 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.9876, allocations: 2.516 kB / 1.359 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.9878, allocations: 38.58 kB / 1.359 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.9878, allocations: 3.312 kB / 1.359 GB, free: 13.62 MB / 0.8073 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.082e-05/0.9879, allocations: 109.1 kB / 1.359 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.53e-05/0.9879, allocations: 20.73 kB / 1.359 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.9882, allocations: 126.9 kB / 1.359 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.9882, allocations: 1.469 kB / 1.359 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.9882, allocations: 0.7812 kB / 1.359 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.9882, allocations: 5.875 kB / 1.359 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.9885, allocations: 228.8 kB / 1.36 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.9885, allocations: 0.75 kB / 1.36 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.9886, allocations: 16.91 kB / 1.36 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.9886, allocations: 8.875 kB / 1.36 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.9886, allocations: 3.391 kB / 1.36 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.9886, allocations: 0.7812 kB / 1.36 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.9886, allocations: 0.875 kB / 1.36 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002074/0.9888, allocations: 204.1 kB / 1.36 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.495e-05/0.9889, allocations: 93.64 kB / 1.36 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.9889, allocations: 2.156 kB / 1.36 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.9891, allocations: 34.69 kB / 1.36 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.928e-05/0.9892, allocations: 30.53 kB / 1.36 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.9892, allocations: 3.844 kB / 1.36 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.497e-05/0.9893, allocations: 129.6 kB / 1.36 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002812/0.9896, allocations: 36.33 kB / 1.36 GB, free: 12.95 MB / 0.8073 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.0001609/0.9898, allocations: 108.6 kB / 1.36 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002077/0.99, allocations: 81.94 kB / 1.36 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.99, allocations: 0 / 1.36 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.505e-05/0.9901, allocations: 51.12 kB / 1.36 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.9903, allocations: 15.44 kB / 1.36 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005256/0.9908, allocations: 206.7 kB / 1.361 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002725/0.9911, allocations: 0.7598 MB / 1.361 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of SimCode: time 2.3e-07/0.9911, allocations: 0.875 kB / 1.361 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of Templates: time 0.005198/0.9963, allocations: 1.847 MB / 1.363 GB, free: 11.48 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches