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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008024/0.0008024, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001011/0.001814, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000686/0.000686, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008835/0.001569, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9848/0.9848, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1016/1.086, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.406/2.406, allocations: 446.7 MB / 0.6745 GB, free: 6.199 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2641/2.67, allocations: 145.9 MB / 0.817 GB, free: 4.195 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 0.8183 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.517e-05/1.755e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.875 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.0033/0.003318, allocations: 2.126 MB / 0.8204 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.004402, allocations: 0.6542 MB / 0.821 GB, free: 72 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.004504, allocations: 0 / 0.821 GB, free: 72 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 9.647e-05/0.0046, allocations: 27.67 kB / 0.821 GB, free: 44 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.004708, allocations: 43.7 kB / 0.8211 GB, free: 16 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.004968, allocations: 99.59 kB / 0.8212 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002709/0.005239, allocations: 232 kB / 0.8214 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.005449, allocations: 82.61 kB / 0.8215 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000286/0.005735, allocations: 179.4 kB / 0.8217 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.005856, allocations: 67.78 kB / 0.8217 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.00589, allocations: 20 kB / 0.8217 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.974e-05/0.00599, allocations: 28 kB / 0.8218 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.043e-05/0.006051, allocations: 43.75 kB / 0.8218 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.186e-05/0.006123, allocations: 55.88 kB / 0.8219 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.006383, allocations: 159.3 kB / 0.822 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.707e-05/0.0064, allocations: 0 / 0.822 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.92e-07/0.006401, allocations: 0 / 0.822 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.953e-05/0.006421, allocations: 0 / 0.822 GB, free: 15.05 MB / 0.8073 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.0006809/0.007101, allocations: 455.4 kB / 0.8224 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.00714, allocations: 8.625 kB / 0.8225 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000321/0.007461, allocations: 138 kB / 0.8226 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.007722, allocations: 178.2 kB / 0.8228 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.007745, allocations: 20.38 kB / 0.8228 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.007774, allocations: 20.38 kB / 0.8228 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003154/0.00809, allocations: 257.7 kB / 0.823 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.008101, allocations: 192 / 0.823 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.008121, allocations: 12.38 kB / 0.8231 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.008131, allocations: 7.938 kB / 0.8231 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.008235, allocations: 46.8 kB / 0.8231 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006146/0.008849, allocations: 357 kB / 0.8234 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.009021, allocations: 58.47 kB / 0.8235 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.289e-05/0.009064, allocations: 24.86 kB / 0.8235 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.009079, allocations: 0 / 0.8235 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.009105, allocations: 34.56 kB / 0.8236 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 3.276e-06/0.009108, allocations: 3.984 kB / 0.8236 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.000192/0.0093, allocations: 77.78 kB / 0.8236 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003329/0.009633, allocations: 55.41 kB / 0.8237 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.009771, allocations: 182.3 kB / 0.8239 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.009797, allocations: 37.7 kB / 0.8239 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.044e-05/0.009878, allocations: 140.3 kB / 0.824 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.00991, allocations: 31.72 kB / 0.8241 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.993e-05/0.00997, allocations: 37.69 kB / 0.8241 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.01008, allocations: 334.7 kB / 0.8244 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.214e-05/0.01011, allocations: 15.94 kB / 0.8244 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.353e-05/0.0102, allocations: 131.9 kB / 0.8246 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.173e-05/0.01028, allocations: 41.67 kB / 0.8246 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01028, allocations: 0 / 0.8246 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001361/0.01041, allocations: 89.59 kB / 0.8247 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.01043, allocations: 8.031 kB / 0.8247 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.01043, allocations: 0 / 0.8247 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.01044, allocations: 0 / 0.8247 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.217e-05/0.01054, allocations: 19.98 kB / 0.8247 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.01054, allocations: 3.938 kB / 0.8247 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.616e-05/0.01061, allocations: 19.92 kB / 0.8247 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.01062, allocations: 0 / 0.8247 GB, free: 12.02 MB / 0.8073 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 9.352e-05/0.01071, allocations: 124.6 kB / 0.8249 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.01075, allocations: 15.98 kB / 0.8249 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.214e-05/0.01079, allocations: 21.45 kB / 0.8249 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/0.01079, allocations: 0 / 0.8249 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.01079, allocations: 0 / 0.8249 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.0108, allocations: 4 kB / 0.8249 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.01097, allocations: 121.8 kB / 0.825 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.01098, allocations: 3.938 kB / 0.825 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.338e-05/0.01104, allocations: 15.98 kB / 0.825 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.221e-05/0.01106, allocations: 19.84 kB / 0.825 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.01107, allocations: 3.938 kB / 0.8251 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.01107, allocations: 0 / 0.8251 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.01108, allocations: 4 kB / 0.8251 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.01108, allocations: 0 / 0.8251 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.01123, allocations: 175.4 kB / 0.8252 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.01125, allocations: 4 kB / 0.8252 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.998e-05/0.01134, allocations: 11.98 kB / 0.8252 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.808e-05/0.01141, allocations: 27.89 kB / 0.8253 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.01142, allocations: 0 / 0.8253 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.733e-05/0.01148, allocations: 53.81 kB / 0.8253 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.01148, allocations: 0 / 0.8253 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002364/0.01171, allocations: 35.89 kB / 0.8253 GB, free: 11.34 MB / 0.8073 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 9.177e-05/0.0118, allocations: 88.41 kB / 0.8254 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001365/0.01194, allocations: 55.41 kB / 0.8255 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/0.01195, allocations: 11.92 kB / 0.8255 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.179e-05/0.012, allocations: 28.78 kB / 0.8255 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.01223, allocations: 35.92 kB / 0.8256 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/0.01435, allocations: 333.8 kB / 0.8259 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.592e-05/0.0144, allocations: 75.69 kB / 0.826 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.935e-05/0.01448, allocations: 17.52 kB / 0.826 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.01461, allocations: 91.34 kB / 0.8261 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of SimCode: time 7.51e-07/0.01461, allocations: 0 / 0.8261 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of Templates: time 0.005351/0.01996, allocations: 2.207 MB / 0.8282 GB, free: 8.422 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile [Timeout 300] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.354807879775763]