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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 106.7 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 187 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.709/2.709, allocations: 461.9 MB / 0.7355 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002438/0.002438, allocations: 71.83 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9447/0.9471, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00389/0.9511, allocations: 2.042 MB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.9523, allocations: 0.5688 MB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001928/0.9525, allocations: 4 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.9527, allocations: 19.73 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.9529, allocations: 43.59 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.9533, allocations: 71.86 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.9536, allocations: 228 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002564/0.9539, allocations: 107.6 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.9541, allocations: 99.58 kB / 1.212 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.9542, allocations: 99.53 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.65e-05/0.9543, allocations: 28 kB / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.9544, allocations: 35.94 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.702e-05/0.9545, allocations: 59.81 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.9546, allocations: 99.47 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003664/0.955, allocations: 274.8 kB / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.955, allocations: 0 / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.984e-06/0.955, allocations: 0 / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.955, allocations: 3.938 kB / 1.212 GB, free: 9.848 MB / 0.9356 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.0008621/0.9559, allocations: 0.5277 MB / 1.213 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.9559, allocations: 8.031 kB / 1.213 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.747e-05/0.956, allocations: 24.66 kB / 1.213 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003763/0.9564, allocations: 256.6 kB / 1.213 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.9564, allocations: 12.38 kB / 1.213 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.481e-05/0.9565, allocations: 16.38 kB / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004279/0.9569, allocations: 236.8 kB / 1.213 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.9569, allocations: 0 / 1.213 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.957, allocations: 11.94 kB / 1.213 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.957, allocations: 4 kB / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003114/0.9573, allocations: 139.9 kB / 1.213 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.9583, allocations: 0.5932 MB / 1.214 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003763/0.9587, allocations: 110.8 kB / 1.214 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.9589, allocations: 61.02 kB / 1.214 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.769e-05/0.9589, allocations: 3.938 kB / 1.214 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.9589, allocations: 38.56 kB / 1.214 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.9589, allocations: 0 / 1.214 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0004722/0.9594, allocations: 161.4 kB / 1.214 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.734e-05/0.9595, allocations: 144.4 kB / 1.214 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.9597, allocations: 207 kB / 1.215 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/0.9598, allocations: 33.7 kB / 1.215 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.9599, allocations: 148.1 kB / 1.215 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.9599, allocations: 27.64 kB / 1.215 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.533e-05/0.96, allocations: 37.7 kB / 1.215 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.9601, allocations: 326.8 kB / 1.215 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.9603, allocations: 47.97 kB / 1.215 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.9604, allocations: 88.27 kB / 1.215 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.9607, allocations: 88.75 kB / 1.215 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.9607, allocations: 384 / 1.215 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003199/0.961, allocations: 165.3 kB / 1.215 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.961, allocations: 4 kB / 1.215 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.961, allocations: 0 / 1.215 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.9611, allocations: 3.938 kB / 1.215 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.9612, allocations: 23.92 kB / 1.216 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.9612, allocations: 0 / 1.216 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.9613, allocations: 27.91 kB / 1.216 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.9614, allocations: 4 kB / 1.216 GB, free: 6.039 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (temPro.hysdTConEva.y,$PRE.temPro.hysdTConEva.y,temPro.on.y,temPro.hysLow.y,$PRE.temPro.hysLow.y,temPro.hysHig.y,$PRE.temPro.hysHig.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001331/0.9615, allocations: 139.8 kB / 1.216 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-05/0.9616, allocations: 23.72 kB / 1.216 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003527/0.9619, allocations: 147 kB / 1.216 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.9619, allocations: 7.875 kB / 1.216 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.9619, allocations: 0 / 1.216 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.962, allocations: 0 / 1.216 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.9622, allocations: 273.5 kB / 1.216 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.9623, allocations: 4 kB / 1.216 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.9624, allocations: 19.98 kB / 1.216 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.9624, allocations: 0 / 1.216 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.9624, allocations: 3.984 kB / 1.216 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.9624, allocations: 3.938 kB / 1.216 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.9624, allocations: 4 kB / 1.216 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.9627, allocations: 227.3 kB / 1.216 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.004e-05/0.9628, allocations: 100.8 kB / 1.216 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/0.9628, allocations: 8 kB / 1.216 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.963, allocations: 19.92 kB / 1.216 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.257e-05/0.9631, allocations: 23.95 kB / 1.217 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.9631, allocations: 4 kB / 1.217 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001226/0.9632, allocations: 148.6 kB / 1.217 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9633, allocations: 0 / 1.217 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002827/0.9635, allocations: 39.84 kB / 1.217 GB, free: 4.773 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000181/0.9637, allocations: 119.3 kB / 1.217 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003145/0.964, allocations: 111.9 kB / 1.217 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.9641, allocations: 0 / 1.217 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.9642, allocations: 51.97 kB / 1.217 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.9646, allocations: 20.06 kB / 1.217 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006579/0.9653, allocations: 350.7 kB / 1.217 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.9656, allocations: 0.7319 MB / 1.218 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.757e-05/0.9657, allocations: 23.42 kB / 1.218 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of SimCode: time 3.61e-07/0.9657, allocations: 0 / 1.218 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of Templates: time 0.004935/0.9706, allocations: 2.388 MB / 1.22 GB, free: 0.9375 MB / 0.9356 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches