Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.57/2.57, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001431/0.001431, allocations: 183.9 kB / 0.4902 GB, free: 2.305 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.679/1.679, allocations: 223.1 MB / 0.7992 GB, free: 14.68 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.001001/0.001001, allocations: 96.33 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.0003359, allocations: 10.34 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.299, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2299/0.529, allocations: 153 MB / 1.379 GB, free: 0.5625 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.5293, allocations: 91.94 kB / 1.379 GB, free: 484 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009831/0.5392, allocations: 3.356 MB / 1.382 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5392, allocations: 0 / 1.382 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.611e-05/0.5392, allocations: 4 kB / 1.382 GB, free: 13.1 MB / 0.8855 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.0006925/0.5399, allocations: 0.4982 MB / 1.383 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.54, allocations: 12.56 kB / 1.383 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.601e-05/0.54, allocations: 27.67 kB / 1.383 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.5403, allocations: 227.6 kB / 1.383 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.5403, allocations: 12 kB / 1.383 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.5404, allocations: 23.98 kB / 1.383 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004086/0.5408, allocations: 229.4 kB / 1.383 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.5408, allocations: 0 / 1.383 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.5408, allocations: 4 kB / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.5409, allocations: 4 kB / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003136/0.5412, allocations: 155.7 kB / 1.383 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009575/0.5421, allocations: 0.6014 MB / 1.384 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/0.5425, allocations: 134.7 kB / 1.384 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.997e-05/0.5426, allocations: 7.984 kB / 1.384 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.5426, allocations: 34.56 kB / 1.384 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.5426, allocations: 0 / 1.384 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.0004688/0.5431, allocations: 189.8 kB / 1.384 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.5432, allocations: 132.5 kB / 1.384 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.5434, allocations: 194.4 kB / 1.384 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.5434, allocations: 37.64 kB / 1.384 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.625e-05/0.5435, allocations: 140.2 kB / 1.385 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.5435, allocations: 31.55 kB / 1.385 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-06/0.5435, allocations: 0 / 1.385 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.5437, allocations: 330.8 kB / 1.385 GB, free: 9.867 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.5438, allocations: 51.98 kB / 1.385 GB, free: 9.816 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.5439, allocations: 83.41 kB / 1.385 GB, free: 9.723 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.5441, allocations: 47.98 kB / 1.385 GB, free: 9.676 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.5441, allocations: 0 / 1.385 GB, free: 9.676 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002969/0.5444, allocations: 164.7 kB / 1.385 GB, free: 9.512 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.5444, allocations: 6.344 kB / 1.385 GB, free: 9.508 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.5444, allocations: 0 / 1.385 GB, free: 9.508 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.5444, allocations: 0 / 1.385 GB, free: 9.508 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.5445, allocations: 23.98 kB / 1.385 GB, free: 9.484 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.5446, allocations: 0 / 1.385 GB, free: 9.484 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.5447, allocations: 35.91 kB / 1.385 GB, free: 9.449 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.5447, allocations: 4 kB / 1.385 GB, free: 9.445 MB / 0.8855 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.0001221/0.5449, allocations: 141.8 kB / 1.385 GB, free: 9.297 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.179e-05/0.5449, allocations: 23.67 kB / 1.386 GB, free: 9.273 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003388/0.5453, allocations: 155 kB / 1.386 GB, free: 9.121 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.5453, allocations: 0 / 1.386 GB, free: 9.121 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.5453, allocations: 4 kB / 1.386 GB, free: 9.117 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.5453, allocations: 3.984 kB / 1.386 GB, free: 9.113 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.5456, allocations: 273.5 kB / 1.386 GB, free: 8.797 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.5456, allocations: 0 / 1.386 GB, free: 8.797 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.5457, allocations: 19.92 kB / 1.386 GB, free: 8.777 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5457, allocations: 4 kB / 1.386 GB, free: 8.773 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.5457, allocations: 7.938 kB / 1.386 GB, free: 8.766 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5457, allocations: 0 / 1.386 GB, free: 8.766 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.5457, allocations: 7.969 kB / 1.386 GB, free: 8.758 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/0.5461, allocations: 243.3 kB / 1.386 GB, free: 8.504 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/0.5461, allocations: 96.91 kB / 1.386 GB, free: 8.391 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.5462, allocations: 0 / 1.386 GB, free: 8.391 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.5464, allocations: 43.92 kB / 1.386 GB, free: 8.348 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.497e-05/0.5464, allocations: 23.95 kB / 1.386 GB, free: 8.324 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.5465, allocations: 4 kB / 1.386 GB, free: 8.32 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001244/0.5466, allocations: 152.6 kB / 1.387 GB, free: 8.172 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5466, allocations: 0 / 1.387 GB, free: 8.172 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002552/0.5468, allocations: 35.94 kB / 1.387 GB, free: 8.137 MB / 0.8855 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.0001738/0.547, allocations: 120 kB / 1.387 GB, free: 8.008 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003078/0.5473, allocations: 115.9 kB / 1.387 GB, free: 7.895 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5474, allocations: 0 / 1.387 GB, free: 7.895 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.5475, allocations: 59.91 kB / 1.387 GB, free: 7.836 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.5477, allocations: 17.69 kB / 1.387 GB, free: 7.82 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005993/0.5483, allocations: 380.5 kB / 1.387 GB, free: 7.426 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.5486, allocations: 0.7361 MB / 1.388 GB, free: 6.664 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.888e-05/0.5487, allocations: 17.36 kB / 1.388 GB, free: 6.648 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.353e-05/0.5488, allocations: 23.42 kB / 1.388 GB, free: 6.625 MB / 0.8855 GB Notification: Performance of SimCode: time 2.31e-07/0.5488, allocations: 0 / 1.388 GB, free: 6.625 MB / 0.8855 GB Notification: Performance of Templates: time 0.004594/0.5534, allocations: 1.858 MB / 1.39 GB, free: 4.812 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches