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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.462/2.462, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001158/0.001158, allocations: 185.2 kB / 498.1 MB, free: 5.742 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.61/1.61, allocations: 223.2 MB / 0.7948 GB, free: 17.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001033, allocations: 110.5 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003924, allocations: 12.31 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.322, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1975/0.5195, allocations: 152.2 MB / 1.372 GB, free: 9.84 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.5198, allocations: 91.94 kB / 1.372 GB, free: 9.75 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009158/0.529, allocations: 3.356 MB / 1.375 GB, free: 6.379 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.595e-06/0.529, allocations: 4 kB / 1.375 GB, free: 6.375 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.549e-05/0.5291, allocations: 4 kB / 1.375 GB, free: 6.371 MB / 0.8698 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.0007159/0.5298, allocations: 0.4982 MB / 1.375 GB, free: 5.824 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.5298, allocations: 8.031 kB / 1.375 GB, free: 5.816 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.235e-05/0.5299, allocations: 31.67 kB / 1.375 GB, free: 5.785 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.5302, allocations: 239.5 kB / 1.376 GB, free: 5.508 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.5303, allocations: 12 kB / 1.376 GB, free: 5.496 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.417e-05/0.5303, allocations: 16 kB / 1.376 GB, free: 5.48 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003993/0.5307, allocations: 224.8 kB / 1.376 GB, free: 5.242 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.629e-06/0.5307, allocations: 0 / 1.376 GB, free: 5.242 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.5308, allocations: 8 kB / 1.376 GB, free: 5.234 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.5308, allocations: 4 kB / 1.376 GB, free: 5.23 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002935/0.5311, allocations: 151.7 kB / 1.376 GB, free: 5.082 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009439/0.532, allocations: 0.6052 MB / 1.377 GB, free: 4.426 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003737/0.5324, allocations: 134.7 kB / 1.377 GB, free: 4.285 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.5325, allocations: 4 kB / 1.377 GB, free: 4.281 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.5325, allocations: 34.56 kB / 1.377 GB, free: 4.238 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 2.845e-06/0.5325, allocations: 4 kB / 1.377 GB, free: 4.234 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0004502/0.533, allocations: 181.6 kB / 1.377 GB, free: 4.051 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.827e-05/0.533, allocations: 132.5 kB / 1.377 GB, free: 3.891 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.5332, allocations: 194.2 kB / 1.377 GB, free: 3.695 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.5333, allocations: 37.7 kB / 1.377 GB, free: 3.652 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.5334, allocations: 144.2 kB / 1.377 GB, free: 3.504 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.5334, allocations: 27.61 kB / 1.378 GB, free: 3.477 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.625e-06/0.5334, allocations: 384 / 1.378 GB, free: 3.477 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.5335, allocations: 326.8 kB / 1.378 GB, free: 3.148 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.5337, allocations: 51.97 kB / 1.378 GB, free: 3.098 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.5338, allocations: 87.16 kB / 1.378 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.5339, allocations: 55.86 kB / 1.378 GB, free: 2.949 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5339, allocations: 0 / 1.378 GB, free: 2.949 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003/0.5342, allocations: 161.4 kB / 1.378 GB, free: 2.785 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.5343, allocations: 4 kB / 1.378 GB, free: 2.781 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.5343, allocations: 0 / 1.378 GB, free: 2.781 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.5343, allocations: 0 / 1.378 GB, free: 2.781 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.5344, allocations: 15.98 kB / 1.378 GB, free: 2.766 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.5344, allocations: 7.938 kB / 1.378 GB, free: 2.758 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.5346, allocations: 43.81 kB / 1.378 GB, free: 2.715 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.5346, allocations: 4 kB / 1.378 GB, free: 2.711 MB / 0.8698 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 () * Number of clocked 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 0.0001356/0.5348, allocations: 136.3 kB / 1.378 GB, free: 2.57 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.83e-05/0.5348, allocations: 23.77 kB / 1.378 GB, free: 2.547 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003405/0.5352, allocations: 166.9 kB / 1.379 GB, free: 2.375 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.5352, allocations: 0 / 1.379 GB, free: 2.375 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5352, allocations: 0 / 1.379 GB, free: 2.375 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.5352, allocations: 0 / 1.379 GB, free: 2.375 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003058/0.5355, allocations: 277.5 kB / 1.379 GB, free: 2.055 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.5355, allocations: 0 / 1.379 GB, free: 2.055 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.5356, allocations: 19.98 kB / 1.379 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.5356, allocations: 4 kB / 1.379 GB, free: 2.031 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.5357, allocations: 3.953 kB / 1.379 GB, free: 2.027 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.5357, allocations: 0 / 1.379 GB, free: 2.027 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.5357, allocations: 0 / 1.379 GB, free: 2.027 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.536, allocations: 243.2 kB / 1.379 GB, free: 1.773 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.844e-05/0.536, allocations: 92.92 kB / 1.379 GB, free: 1.664 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.5361, allocations: 0 / 1.379 GB, free: 1.664 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.5363, allocations: 39.92 kB / 1.379 GB, free: 1.625 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.814e-05/0.5363, allocations: 19.95 kB / 1.379 GB, free: 1.605 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.5364, allocations: 20.11 kB / 1.379 GB, free: 1.586 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001317/0.5365, allocations: 152.6 kB / 1.379 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5365, allocations: 3.938 kB / 1.379 GB, free: 1.434 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002607/0.5368, allocations: 39.84 kB / 1.379 GB, free: 1.395 MB / 0.8698 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) * Number of clocked states: 0 () * 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.0001781/0.537, allocations: 111.2 kB / 1.38 GB, free: 1.273 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002967/0.5373, allocations: 119.9 kB / 1.38 GB, free: 1.156 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5373, allocations: 0 / 1.38 GB, free: 1.156 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.5374, allocations: 47.98 kB / 1.38 GB, free: 1.109 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.5376, allocations: 25.61 kB / 1.38 GB, free: 1.086 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006399/0.5383, allocations: 384.4 kB / 1.38 GB, free: 0.6914 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.5386, allocations: 0.7361 MB / 1.381 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.366e-05/0.5387, allocations: 17.42 kB / 1.381 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.335e-05/0.5388, allocations: 23.42 kB / 1.381 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of SimCode: time 2.2e-07/0.5388, allocations: 0 / 1.381 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of Templates: time 0.00463/0.5434, allocations: 1.862 MB / 1.383 GB, free: 14.05 MB / 0.8855 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