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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009642/0.0009642, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005886/0.005886, allocations: 171 kB / 16.26 MB, free: 6.613 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.349/1.349, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.356/2.356, allocations: 390.9 MB / 0.6663 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003686, allocations: 12 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6581/0.6585, allocations: 142.4 MB / 0.955 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00219/0.6607, allocations: 1.734 MB / 0.9567 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008613/0.6616, allocations: 0.5392 MB / 0.9573 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.891e-05/0.6617, allocations: 10.28 kB / 0.9573 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.6618, allocations: 11.86 kB / 0.9573 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.533e-05/0.6619, allocations: 28 kB / 0.9573 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.6622, allocations: 73.34 kB / 0.9574 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.6624, allocations: 203.9 kB / 0.9576 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002324/0.6626, allocations: 112.1 kB / 0.9577 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.6628, allocations: 62.86 kB / 0.9577 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.6629, allocations: 76.61 kB / 0.9578 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.6629, allocations: 4.625 kB / 0.9578 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.865e-05/0.663, allocations: 14.47 kB / 0.9578 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.61e-05/0.6631, allocations: 39.03 kB / 0.9579 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.991e-05/0.6632, allocations: 103.3 kB / 0.958 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.6634, allocations: 242.1 kB / 0.9582 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.6634, allocations: 9.25 kB / 0.9582 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.326e-06/0.6634, allocations: 0 / 0.9582 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.6634, allocations: 0 / 0.9582 GB, free: 5.223 MB / 0.7169 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.0007044/0.6642, allocations: 0.4943 MB / 0.9587 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.6642, allocations: 9.438 kB / 0.9587 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.857e-05/0.6643, allocations: 25.81 kB / 0.9587 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.6646, allocations: 258 kB / 0.959 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.6646, allocations: 11.44 kB / 0.959 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.6647, allocations: 20.38 kB / 0.959 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003815/0.6651, allocations: 244.5 kB / 0.9592 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.6651, allocations: 0 / 0.9592 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.6651, allocations: 5.312 kB / 0.9592 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.6651, allocations: 4.469 kB / 0.9592 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003083/0.6654, allocations: 152.4 kB / 0.9594 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000813/0.6662, allocations: 0.5923 MB / 0.96 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003583/0.6666, allocations: 131.1 kB / 0.9601 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.6667, allocations: 50.97 kB / 0.9601 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.6668, allocations: 6.734 kB / 0.9601 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.6668, allocations: 44.06 kB / 0.9602 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.6668, allocations: 0 / 0.9602 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0004908/0.6673, allocations: 177.4 kB / 0.9604 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.6674, allocations: 137.8 kB / 0.9605 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.6675, allocations: 210.5 kB / 0.9607 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.6676, allocations: 32.45 kB / 0.9607 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.226e-05/0.6677, allocations: 151.1 kB / 0.9609 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.6677, allocations: 23.78 kB / 0.9609 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.479e-05/0.6677, allocations: 24.58 kB / 0.9609 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.692e-05/0.6678, allocations: 330.9 kB / 0.9612 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.6679, allocations: 51.48 kB / 0.9613 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.6681, allocations: 87.11 kB / 0.9614 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.6683, allocations: 102.6 kB / 0.9615 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.6683, allocations: 4.969 kB / 0.9615 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002979/0.6686, allocations: 165.8 kB / 0.9616 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.6686, allocations: 5.531 kB / 0.9616 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.6686, allocations: 5.188 kB / 0.9616 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.6686, allocations: 1.312 kB / 0.9616 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.6688, allocations: 30.42 kB / 0.9617 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.6688, allocations: 0.9688 kB / 0.9617 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.6689, allocations: 29.09 kB / 0.9617 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.669, allocations: 15.94 kB / 0.9617 GB, free: 2.309 MB / 0.7169 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.0001/0.6691, allocations: 138.1 kB / 0.9618 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.6691, allocations: 21.03 kB / 0.9619 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000332/0.6694, allocations: 154.8 kB / 0.962 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.6695, allocations: 9.031 kB / 0.962 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.6695, allocations: 0 / 0.962 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.6695, allocations: 0.9062 kB / 0.962 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.6697, allocations: 268.5 kB / 0.9623 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.6697, allocations: 0 / 0.9623 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.602e-05/0.6698, allocations: 21.17 kB / 0.9623 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.6698, allocations: 1.094 kB / 0.9623 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.6699, allocations: 1.062 kB / 0.9623 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.6699, allocations: 3.938 kB / 0.9623 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.6699, allocations: 1.156 kB / 0.9623 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.6701, allocations: 239.4 kB / 0.9625 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.497e-05/0.6702, allocations: 93.73 kB / 0.9626 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/0.6702, allocations: 6.531 kB / 0.9626 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.6704, allocations: 34.94 kB / 0.9627 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/0.6705, allocations: 25.95 kB / 0.9627 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.6705, allocations: 2.5 kB / 0.9627 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001001/0.6706, allocations: 154.4 kB / 0.9628 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6706, allocations: 0 / 0.9628 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002683/0.6709, allocations: 36.88 kB / 0.9629 GB, free: 1.324 MB / 0.7169 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.0001467/0.671, allocations: 115.5 kB / 0.963 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003151/0.6713, allocations: 125.2 kB / 0.9631 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6714, allocations: 1.125 kB / 0.9631 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.6715, allocations: 62.38 kB / 0.9632 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.6718, allocations: 19.94 kB / 0.9632 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005563/0.6724, allocations: 396.1 kB / 0.9636 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.6726, allocations: 0.7333 MB / 0.9643 GB, free: 104 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.114e-05/0.6726, allocations: 23.61 kB / 0.9643 GB, free: 92 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.76e-05/0.6727, allocations: 20.23 kB / 0.9643 GB, free: 80 kB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.6727, allocations: 1.5 kB / 0.9643 GB, free: 80 kB / 0.7169 GB Notification: Performance of Templates: time 0.00511/0.6778, allocations: 1.877 MB / 0.9661 GB, free: 15.15 MB / 0.7325 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches