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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.339/1.339, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 187.5 kB / 326.5 MB, free: 2.25 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.607/1.607, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.0008469/0.0008469, allocations: 99.34 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003147/0.0003147, allocations: 7.875 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1889, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.166/0.355, allocations: 134.8 MB / 1.032 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.3553, allocations: 91.94 kB / 1.032 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009117/0.3644, allocations: 3.314 MB / 1.035 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3644, allocations: 0 / 1.035 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.599e-05/0.3644, allocations: 4 kB / 1.035 GB, free: 5.57 MB / 0.6823 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.0007058/0.3652, allocations: 0.4907 MB / 1.036 GB, free: 5.031 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.3652, allocations: 8.031 kB / 1.036 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.552e-05/0.3653, allocations: 31.67 kB / 1.036 GB, free: 4.992 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.3655, allocations: 231.5 kB / 1.036 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.3656, allocations: 12 kB / 1.036 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.3656, allocations: 16 kB / 1.036 GB, free: 4.695 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000412/0.366, allocations: 237.2 kB / 1.036 GB, free: 4.445 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.3661, allocations: 3.938 kB / 1.036 GB, free: 4.441 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.3661, allocations: 11.94 kB / 1.036 GB, free: 4.43 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.3661, allocations: 4 kB / 1.036 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003108/0.3664, allocations: 143.9 kB / 1.036 GB, free: 4.285 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009592/0.3674, allocations: 0.6129 MB / 1.037 GB, free: 3.621 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003667/0.3678, allocations: 134.7 kB / 1.037 GB, free: 3.48 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.3678, allocations: 7.938 kB / 1.037 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.3679, allocations: 38.56 kB / 1.037 GB, free: 3.426 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.452e-06/0.3679, allocations: 0 / 1.037 GB, free: 3.426 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0004617/0.3683, allocations: 185.6 kB / 1.037 GB, free: 3.238 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.827e-05/0.3684, allocations: 132.5 kB / 1.037 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.3686, allocations: 198.2 kB / 1.037 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.3687, allocations: 29.7 kB / 1.037 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.765e-05/0.3688, allocations: 140.2 kB / 1.038 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.3688, allocations: 27.64 kB / 1.038 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.765e-06/0.3688, allocations: 0 / 1.038 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3689, allocations: 326.8 kB / 1.038 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.3691, allocations: 55.97 kB / 1.038 GB, free: 2.285 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.3692, allocations: 83.41 kB / 1.038 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.3693, allocations: 55.11 kB / 1.038 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3694, allocations: 0 / 1.038 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002959/0.3697, allocations: 153.4 kB / 1.038 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.3697, allocations: 7.953 kB / 1.038 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.3697, allocations: 4 kB / 1.038 GB, free: 1.973 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.3697, allocations: 0 / 1.038 GB, free: 1.973 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.3698, allocations: 19.98 kB / 1.038 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3698, allocations: 0 / 1.038 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.37, allocations: 43.81 kB / 1.038 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.37, allocations: 4 kB / 1.038 GB, free: 1.906 MB / 0.6823 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.0001421/0.3702, allocations: 139.8 kB / 1.038 GB, free: 1.762 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/0.3702, allocations: 15.81 kB / 1.038 GB, free: 1.746 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003577/0.3706, allocations: 159.2 kB / 1.039 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/0.3706, allocations: 4 kB / 1.039 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3706, allocations: 4 kB / 1.039 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.3706, allocations: 3.984 kB / 1.039 GB, free: 1.578 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002842/0.3709, allocations: 277.5 kB / 1.039 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.3709, allocations: 3.938 kB / 1.039 GB, free: 1.254 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.371, allocations: 15.98 kB / 1.039 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3711, allocations: 0 / 1.039 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.3711, allocations: 0 / 1.039 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.3711, allocations: 7.953 kB / 1.039 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3711, allocations: 0 / 1.039 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/0.3714, allocations: 243.2 kB / 1.039 GB, free: 0.9766 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.811e-05/0.3715, allocations: 100.9 kB / 1.039 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.3715, allocations: 4 kB / 1.039 GB, free: 0.8555 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.3717, allocations: 35.97 kB / 1.039 GB, free: 0.8203 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.651e-05/0.3718, allocations: 31.91 kB / 1.039 GB, free: 0.7891 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.3718, allocations: 4 kB / 1.039 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001308/0.372, allocations: 144.7 kB / 1.039 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/0.372, allocations: 0 / 1.039 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002505/0.3722, allocations: 32 kB / 1.04 GB, free: 0.6133 MB / 0.6823 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.0001582/0.3724, allocations: 115.2 kB / 1.04 GB, free: 0.4922 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003104/0.3727, allocations: 115.9 kB / 1.04 GB, free: 388 kB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3727, allocations: 0 / 1.04 GB, free: 388 kB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.3729, allocations: 68.09 kB / 1.04 GB, free: 320 kB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.3731, allocations: 16.12 kB / 1.04 GB, free: 304 kB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006228/0.3737, allocations: 384.5 kB / 1.04 GB, free: 15.89 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.374, allocations: 0.736 MB / 1.041 GB, free: 15.12 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.748e-05/0.3741, allocations: 25.39 kB / 1.041 GB, free: 15.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.207e-05/0.3742, allocations: 19.42 kB / 1.041 GB, free: 15.08 MB / 0.698 GB Notification: Performance of SimCode: time 3.41e-07/0.3742, allocations: 0 / 1.041 GB, free: 15.08 MB / 0.698 GB Notification: Performance of Templates: time 0.004472/0.3787, allocations: 1.863 MB / 1.043 GB, free: 13.27 MB / 0.698 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