Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001364/0.001364, allocations: 79.03 kB / 19.76 MB, free: 2.031 MB / 14.72 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.00142/0.00142, allocations: 160.4 kB / 23.02 MB, free: 4.941 MB / 14.72 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 1.42/1.42, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.758/2.758, allocations: 377.9 MB / 0.6228 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 67.89 kB / 0.982 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8577/0.8599, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00264/0.8626, allocations: 2.002 MB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0008834/0.8634, allocations: 0.6238 MB / 1.156 GB, free: 31.52 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.31e-05/0.8635, allocations: 2.906 kB / 1.156 GB, free: 31.52 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.8636, allocations: 19.08 kB / 1.157 GB, free: 31.51 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.227e-05/0.8637, allocations: 44.88 kB / 1.157 GB, free: 31.47 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.864, allocations: 101.5 kB / 1.157 GB, free: 31.41 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.8642, allocations: 230.4 kB / 1.157 GB, free: 31.29 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.8644, allocations: 73.58 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.8645, allocations: 109.5 kB / 1.157 GB, free: 31.19 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.8646, allocations: 79.31 kB / 1.157 GB, free: 31.15 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.108e-05/0.8647, allocations: 26.09 kB / 1.157 GB, free: 31.15 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 7.2e-05/0.8647, allocations: 40.73 kB / 1.157 GB, free: 31.14 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.565e-05/0.8648, allocations: 55.84 kB / 1.157 GB, free: 31.1 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.467e-05/0.8649, allocations: 88.61 kB / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.8651, allocations: 289.4 kB / 1.158 GB, free: 30.92 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.8651, allocations: 0 / 1.158 GB, free: 30.92 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8651, allocations: 0 / 1.158 GB, free: 30.92 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.8651, allocations: 0 / 1.158 GB, free: 30.92 MB / 1.076 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.00064/0.8658, allocations: 464.7 kB / 1.158 GB, free: 30.55 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.8658, allocations: 8.812 kB / 1.158 GB, free: 30.55 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002782/0.8661, allocations: 51.25 kB / 1.158 GB, free: 30.53 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.8664, allocations: 199.3 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.8664, allocations: 14.19 kB / 1.158 GB, free: 30.35 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.8664, allocations: 19.75 kB / 1.158 GB, free: 30.34 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003447/0.8668, allocations: 308.9 kB / 1.159 GB, free: 30.12 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.8668, allocations: 0 / 1.159 GB, free: 30.12 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.8668, allocations: 4 kB / 1.159 GB, free: 30.12 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.8668, allocations: 5.844 kB / 1.159 GB, free: 30.12 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002668/0.8671, allocations: 142 kB / 1.159 GB, free: 30.07 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006659/0.8677, allocations: 477.1 kB / 1.159 GB, free: 29.74 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000304/0.868, allocations: 114.1 kB / 1.159 GB, free: 29.68 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.78e-05/0.8681, allocations: 53.67 kB / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.8682, allocations: 0 / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.8682, allocations: 37.03 kB / 1.159 GB, free: 29.61 MB / 1.076 GB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.8682, allocations: 0 / 1.159 GB, free: 29.61 MB / 1.076 GB Notification: Performance of matching and sorting (n=10): time 0.0003859/0.8686, allocations: 168.5 kB / 1.16 GB, free: 29.54 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.8686, allocations: 128.5 kB / 1.16 GB, free: 29.38 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.8687, allocations: 199.5 kB / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.8687, allocations: 32.33 kB / 1.16 GB, free: 29.21 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.224e-05/0.8688, allocations: 163.2 kB / 1.16 GB, free: 29.07 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.8688, allocations: 29.64 kB / 1.16 GB, free: 29.05 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/0.8689, allocations: 34.39 kB / 1.16 GB, free: 29.02 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.036e-05/0.8689, allocations: 327.3 kB / 1.16 GB, free: 28.7 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.869, allocations: 45.5 kB / 1.16 GB, free: 28.69 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.8692, allocations: 166.3 kB / 1.161 GB, free: 28.53 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.8693, allocations: 82.81 kB / 1.161 GB, free: 28.49 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8693, allocations: 4 kB / 1.161 GB, free: 28.49 MB / 1.076 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002514/0.8696, allocations: 148.8 kB / 1.161 GB, free: 28.41 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.8696, allocations: 5.625 kB / 1.161 GB, free: 28.41 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.8696, allocations: 0 / 1.161 GB, free: 28.41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.8696, allocations: 2.875 kB / 1.161 GB, free: 28.41 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.8697, allocations: 15.14 kB / 1.161 GB, free: 28.41 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.8697, allocations: 7.312 kB / 1.161 GB, free: 28.41 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.8698, allocations: 29.08 kB / 1.161 GB, free: 28.4 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.8699, allocations: 9.781 kB / 1.161 GB, free: 28.39 MB / 1.076 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 8.431e-05/0.8699, allocations: 134.4 kB / 1.161 GB, free: 28.27 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.87, allocations: 17.16 kB / 1.161 GB, free: 28.26 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.161e-05/0.87, allocations: 23.31 kB / 1.161 GB, free: 28.24 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.87, allocations: 3.031 kB / 1.161 GB, free: 28.24 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.87, allocations: 3.938 kB / 1.161 GB, free: 28.23 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.87, allocations: 0 / 1.161 GB, free: 28.23 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.8702, allocations: 178.2 kB / 1.161 GB, free: 28.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.8702, allocations: 0 / 1.161 GB, free: 28.09 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.16e-05/0.8703, allocations: 21.67 kB / 1.161 GB, free: 28.08 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.8703, allocations: 0 / 1.161 GB, free: 28.08 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.8703, allocations: 8 kB / 1.161 GB, free: 28.07 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.8703, allocations: 6.938 kB / 1.161 GB, free: 28.07 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.8703, allocations: 0 / 1.161 GB, free: 28.07 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.8705, allocations: 230 kB / 1.162 GB, free: 27.9 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.029e-05/0.8706, allocations: 17.75 kB / 1.162 GB, free: 27.89 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.8706, allocations: 6.875 kB / 1.162 GB, free: 27.88 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.8707, allocations: 22.33 kB / 1.162 GB, free: 27.88 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.523e-05/0.8708, allocations: 30.31 kB / 1.162 GB, free: 27.87 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.8708, allocations: 3.938 kB / 1.162 GB, free: 27.87 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.254e-05/0.8709, allocations: 139.5 kB / 1.162 GB, free: 27.78 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8709, allocations: 0 / 1.162 GB, free: 27.78 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002604/0.8712, allocations: 37.8 kB / 1.162 GB, free: 27.77 MB / 1.076 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 7.509e-05/0.8712, allocations: 112.8 kB / 1.162 GB, free: 27.67 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002612/0.8715, allocations: 108 kB / 1.162 GB, free: 27.63 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.8715, allocations: 0 / 1.162 GB, free: 27.63 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.8716, allocations: 51.42 kB / 1.162 GB, free: 27.62 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.8719, allocations: 22.84 kB / 1.162 GB, free: 27.61 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004791/0.8724, allocations: 337.8 kB / 1.162 GB, free: 27.37 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.329e-05/0.8724, allocations: 127.8 kB / 1.163 GB, free: 27.29 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.891e-05/0.8725, allocations: 20.66 kB / 1.163 GB, free: 27.28 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.701e-05/0.8726, allocations: 21.06 kB / 1.163 GB, free: 27.27 MB / 1.076 GB Notification: Performance of SimCode: time 3.51e-07/0.8726, allocations: 2.906 kB / 1.163 GB, free: 27.27 MB / 1.076 GB Notification: Performance of Templates: time 0.004655/0.8772, allocations: 2.115 MB / 1.165 GB, free: 27.02 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.566708992002532]