Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001146/0.001146, allocations: 118.8 kB / 16.42 MB, free: 6.508 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.001255/0.001255, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.425/2.425, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 64.12 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7501/0.7517, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00319/0.755, allocations: 2.039 MB / 1.169 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009783/0.756, allocations: 0.5689 MB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.2e-05/0.7561, allocations: 4 kB / 1.17 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.7562, allocations: 31.66 kB / 1.17 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.119e-05/0.7563, allocations: 27.67 kB / 1.17 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.7566, allocations: 83.83 kB / 1.17 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00022/0.7568, allocations: 228 kB / 1.17 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002128/0.757, allocations: 111.6 kB / 1.17 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.7571, allocations: 91.69 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.7573, allocations: 107.4 kB / 1.171 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.551e-05/0.7573, allocations: 24 kB / 1.171 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.667e-05/0.7574, allocations: 32 kB / 1.171 GB, free: 500 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.094e-05/0.7575, allocations: 47.84 kB / 1.171 GB, free: 452 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.7576, allocations: 115.4 kB / 1.171 GB, free: 336 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003031/0.7579, allocations: 275.4 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.7579, allocations: 0 / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7579, allocations: 4 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.7579, allocations: 0 / 1.171 GB, free: 60 kB / 0.8887 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.0007504/0.7587, allocations: 0.5258 MB / 1.172 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.7587, allocations: 8.625 kB / 1.172 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.898e-05/0.7588, allocations: 24.8 kB / 1.172 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.7591, allocations: 264.7 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.7591, allocations: 12.38 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.7591, allocations: 16.38 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003857/0.7595, allocations: 228.9 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.7596, allocations: 0 / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.7596, allocations: 8 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.7596, allocations: 4 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003135/0.7599, allocations: 147.6 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008703/0.7608, allocations: 0.5936 MB / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003632/0.7612, allocations: 126.6 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.7613, allocations: 52.84 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.7613, allocations: 3.938 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.7614, allocations: 38.56 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.7614, allocations: 0 / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0004582/0.7618, allocations: 169.7 kB / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.637e-05/0.7619, allocations: 132.5 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.7621, allocations: 212.2 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.7622, allocations: 33.7 kB / 1.174 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.562e-05/0.7622, allocations: 140.4 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/0.7623, allocations: 31.73 kB / 1.174 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.962e-05/0.7624, allocations: 41.7 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.7625, allocations: 330.8 kB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.7626, allocations: 43.98 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.7628, allocations: 89.7 kB / 1.174 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.763, allocations: 86.56 kB / 1.174 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.763, allocations: 0 / 1.174 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003311/0.7634, allocations: 163.1 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.7634, allocations: 8 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.7634, allocations: 0 / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.7634, allocations: 0 / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.7635, allocations: 19.98 kB / 1.174 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.7635, allocations: 3.969 kB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.7637, allocations: 35.86 kB / 1.174 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.7637, allocations: 4 kB / 1.174 GB, free: 12.23 MB / 0.9044 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.0001233/0.7638, allocations: 136.4 kB / 1.175 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.7639, allocations: 15.91 kB / 1.175 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003602/0.7643, allocations: 151.3 kB / 1.175 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.7643, allocations: 4.094 kB / 1.175 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.7643, allocations: 7.875 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.257e-05/0.7643, allocations: 96.95 kB / 1.175 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.7644, allocations: 0 / 1.175 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.7646, allocations: 27.97 kB / 1.175 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.514e-05/0.7646, allocations: 23.97 kB / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003937/0.765, allocations: 216.8 kB / 1.175 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003612/0.7654, allocations: 306.6 kB / 1.175 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001276/0.7655, allocations: 51.97 kB / 1.175 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000114/0.7657, allocations: 151.6 kB / 1.176 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of Backend: time 5.11e-07/0.7657, allocations: 0 / 1.176 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005296/0.7662, allocations: 159.4 kB / 1.176 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007318/0.767, allocations: 0.7639 MB / 1.176 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of Templates: time 0.005703/0.7727, allocations: 2.436 MB / 1.179 GB, free: 7.621 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches