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.001844/0.001844, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.00226/0.00226, allocations: 213 kB / 22.24 MB, free: 5.242 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.602/1.602, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.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 3.427/3.427, allocations: 0.4892 GB / 0.7943 GB, free: 35.63 MB / 0.6231 GB " [Timeout remaining time 176] 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.002162/0.002162, allocations: 73.5 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3972, allocations: 176.1 MB / 1.326 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003868/0.4011, allocations: 1.997 MB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.4024, allocations: 0.6235 MB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.566e-05/0.4025, allocations: 7.938 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.4027, allocations: 23.67 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.42e-05/0.4028, allocations: 35.59 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.4031, allocations: 103.8 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002893/0.4034, allocations: 236 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.4036, allocations: 83.97 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002054/0.4038, allocations: 91.64 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.404, allocations: 91.53 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.067e-05/0.404, allocations: 24 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.609e-05/0.4041, allocations: 32 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.618e-05/0.4042, allocations: 59.77 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.4043, allocations: 87.58 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000427/0.4047, allocations: 282.8 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4047, allocations: 4 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.362e-06/0.4047, allocations: 0 / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.4047, allocations: 0 / 1.329 GB, free: 14.09 MB / 1.029 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.0008373/0.4056, allocations: 469.1 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.4056, allocations: 12.03 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000291/0.4059, allocations: 44.73 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000419/0.4063, allocations: 202.1 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.4064, allocations: 12.38 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/0.4064, allocations: 12.38 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004989/0.4069, allocations: 313.9 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.4069, allocations: 3.938 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.4069, allocations: 8 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.4069, allocations: 4 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003175/0.4072, allocations: 135.9 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009206/0.4082, allocations: 483.6 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/0.4086, allocations: 110.7 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.4087, allocations: 44.84 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.4087, allocations: 4 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.4087, allocations: 34.56 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.4087, allocations: 0 / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0004832/0.4092, allocations: 173.6 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001513/0.4093, allocations: 128.5 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.4096, allocations: 203.1 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.4096, allocations: 33.7 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.4097, allocations: 152.3 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/0.4098, allocations: 35.67 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-05/0.4098, allocations: 41.7 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.41, allocations: 326.8 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.4101, allocations: 43.97 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.4103, allocations: 161.4 kB / 1.332 GB, free: 10.72 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.4106, allocations: 81.69 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4106, allocations: 0 / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003235/0.4109, allocations: 160 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.4109, allocations: 4 kB / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.4109, allocations: 0 / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.4109, allocations: 4 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.411, allocations: 19.92 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.411, allocations: 3.938 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.4112, allocations: 31.86 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.4112, allocations: 4 kB / 1.333 GB, free: 10.41 MB / 1.029 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.0001373/0.4113, allocations: 134.4 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.72e-05/0.4114, allocations: 15.91 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.412e-05/0.4114, allocations: 25.39 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.4115, allocations: 4 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.4115, allocations: 3.938 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.4115, allocations: 0 / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.4117, allocations: 185.2 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.4117, allocations: 0 / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.4118, allocations: 19.92 kB / 1.333 GB, free: 9.988 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.4118, allocations: 8.031 kB / 1.333 GB, free: 9.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.4118, allocations: 4 kB / 1.333 GB, free: 9.977 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.4118, allocations: 4 kB / 1.333 GB, free: 9.973 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4118, allocations: 0 / 1.333 GB, free: 9.973 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.4122, allocations: 227.7 kB / 1.333 GB, free: 9.734 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.59e-05/0.4122, allocations: 12 kB / 1.333 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/0.4123, allocations: 11.94 kB / 1.333 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.4124, allocations: 15.97 kB / 1.333 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.328e-05/0.4125, allocations: 35.95 kB / 1.333 GB, free: 9.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.4125, allocations: 3.938 kB / 1.333 GB, free: 9.656 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001255/0.4126, allocations: 136.5 kB / 1.333 GB, free: 9.523 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4126, allocations: 0 / 1.333 GB, free: 9.523 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002934/0.4129, allocations: 43.83 kB / 1.333 GB, free: 9.48 MB / 1.029 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.000133/0.4131, allocations: 103.2 kB / 1.334 GB, free: 9.367 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003143/0.4134, allocations: 107.9 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4134, allocations: 4.062 kB / 1.334 GB, free: 9.258 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.4135, allocations: 47.92 kB / 1.334 GB, free: 9.211 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.4139, allocations: 29.61 kB / 1.334 GB, free: 9.184 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000675/0.4145, allocations: 325 kB / 1.334 GB, free: 8.84 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/0.4147, allocations: 129 kB / 1.334 GB, free: 8.695 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.694e-05/0.4148, allocations: 17.42 kB / 1.334 GB, free: 8.68 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.176e-05/0.4148, allocations: 23.42 kB / 1.334 GB, free: 8.656 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.4148, allocations: 4 kB / 1.334 GB, free: 8.652 MB / 1.029 GB Notification: Performance of Templates: time 0.006324/0.4212, allocations: 2.27 MB / 1.336 GB, free: 6.43 MB / 1.029 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 9.831424929201603]