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.001661/0.001661, allocations: 77.7 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.001962/0.001962, allocations: 157.9 kB / 23.01 MB, free: 4.945 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.451/1.451, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.887/2.887, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: 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.002307/0.002307, allocations: 67.89 kB / 1.009 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9766/0.9789, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003001/0.9819, allocations: 2.01 MB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.983, allocations: 0.6235 MB / 1.189 GB, free: 14.43 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.9831, allocations: 2.969 kB / 1.189 GB, free: 14.43 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.9832, allocations: 21.28 kB / 1.189 GB, free: 14.41 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.707e-05/0.9833, allocations: 39.58 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.9836, allocations: 102.8 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.9839, allocations: 231.7 kB / 1.19 GB, free: 14.2 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/0.9841, allocations: 76.52 kB / 1.19 GB, free: 14.16 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.9843, allocations: 101.4 kB / 1.19 GB, free: 14.1 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.9844, allocations: 91.3 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.779e-05/0.9845, allocations: 24.06 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 8.197e-05/0.9845, allocations: 34.14 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.528e-05/0.9846, allocations: 56.17 kB / 1.19 GB, free: 14.01 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.736e-05/0.9847, allocations: 85.77 kB / 1.19 GB, free: 13.96 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003517/0.985, allocations: 288.7 kB / 1.19 GB, free: 13.83 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.985, allocations: 0.6094 kB / 1.19 GB, free: 13.83 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.513e-06/0.985, allocations: 5.125 kB / 1.19 GB, free: 13.83 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.985, allocations: 0 / 1.19 GB, free: 13.83 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.0007109/0.9858, allocations: 464.2 kB / 1.191 GB, free: 13.46 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.9858, allocations: 9.812 kB / 1.191 GB, free: 13.46 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002901/0.9861, allocations: 44.86 kB / 1.191 GB, free: 13.45 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003388/0.9864, allocations: 204.8 kB / 1.191 GB, free: 13.27 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.9864, allocations: 16 kB / 1.191 GB, free: 13.26 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.33e-05/0.9865, allocations: 20.19 kB / 1.191 GB, free: 13.25 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000422/0.9869, allocations: 309.9 kB / 1.191 GB, free: 13.02 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.9869, allocations: 0 / 1.191 GB, free: 13.02 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.9869, allocations: 6.594 kB / 1.191 GB, free: 13.02 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.9869, allocations: 4.188 kB / 1.191 GB, free: 13.02 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003235/0.9873, allocations: 142.3 kB / 1.191 GB, free: 12.97 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008553/0.9881, allocations: 480.2 kB / 1.192 GB, free: 12.64 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003604/0.9885, allocations: 114.4 kB / 1.192 GB, free: 12.59 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.9886, allocations: 43.83 kB / 1.192 GB, free: 12.57 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.9886, allocations: 1 kB / 1.192 GB, free: 12.57 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.9886, allocations: 41.61 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of pre-optimization done (n=10): time 1.163e-06/0.9886, allocations: 0 / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=10): time 0.0004599/0.9891, allocations: 164.8 kB / 1.192 GB, free: 12.44 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.9891, allocations: 131.4 kB / 1.192 GB, free: 12.29 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.9893, allocations: 195.2 kB / 1.193 GB, free: 12.15 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.9893, allocations: 32.45 kB / 1.193 GB, free: 12.12 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.997e-05/0.9894, allocations: 150.6 kB / 1.193 GB, free: 11.98 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.9894, allocations: 34.3 kB / 1.193 GB, free: 11.96 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.564e-05/0.9895, allocations: 35.12 kB / 1.193 GB, free: 11.93 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.623e-05/0.9895, allocations: 331.8 kB / 1.193 GB, free: 11.61 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.9897, allocations: 46.66 kB / 1.193 GB, free: 11.59 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.9898, allocations: 161 kB / 1.193 GB, free: 11.44 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.99, allocations: 89.36 kB / 1.193 GB, free: 11.4 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.99, allocations: 0 / 1.193 GB, free: 11.4 MB / 1.076 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002957/0.9903, allocations: 153.5 kB / 1.194 GB, free: 11.32 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.9903, allocations: 5.672 kB / 1.194 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.9903, allocations: 0 / 1.194 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.9903, allocations: 1.125 kB / 1.194 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.9905, allocations: 24.98 kB / 1.194 GB, free: 11.31 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.9905, allocations: 5.062 kB / 1.194 GB, free: 11.31 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.9906, allocations: 27.41 kB / 1.194 GB, free: 11.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.9906, allocations: 3.859 kB / 1.194 GB, free: 11.3 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 0.0001075/0.9907, allocations: 139.5 kB / 1.194 GB, free: 11.17 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/0.9908, allocations: 21.64 kB / 1.194 GB, free: 11.16 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.354e-05/0.9908, allocations: 19.23 kB / 1.194 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.9908, allocations: 2.25 kB / 1.194 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.9908, allocations: 3.938 kB / 1.194 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.9908, allocations: 0 / 1.194 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.9911, allocations: 182.6 kB / 1.194 GB, free: 10.99 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.9911, allocations: 4 kB / 1.194 GB, free: 10.98 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.9912, allocations: 14.75 kB / 1.194 GB, free: 10.98 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.9912, allocations: 1.125 kB / 1.194 GB, free: 10.98 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.9912, allocations: 10.48 kB / 1.194 GB, free: 10.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.9912, allocations: 0.5625 kB / 1.194 GB, free: 10.98 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.9912, allocations: 0.8125 kB / 1.194 GB, free: 10.98 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.9915, allocations: 230.3 kB / 1.194 GB, free: 10.8 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.795e-05/0.9915, allocations: 17.39 kB / 1.194 GB, free: 10.79 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.9915, allocations: 7.047 kB / 1.194 GB, free: 10.79 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.9917, allocations: 22.2 kB / 1.194 GB, free: 10.79 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-05/0.9918, allocations: 24.64 kB / 1.194 GB, free: 10.78 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.9918, allocations: 11.53 kB / 1.194 GB, free: 10.77 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.549e-05/0.9919, allocations: 139.4 kB / 1.194 GB, free: 10.68 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9919, allocations: 0 / 1.194 GB, free: 10.68 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002795/0.9922, allocations: 43.81 kB / 1.194 GB, free: 10.66 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 9.772e-05/0.9923, allocations: 109.2 kB / 1.195 GB, free: 10.57 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003028/0.9926, allocations: 102.7 kB / 1.195 GB, free: 10.54 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9926, allocations: 1.281 kB / 1.195 GB, free: 10.54 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.9927, allocations: 54.78 kB / 1.195 GB, free: 10.52 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.993, allocations: 17.3 kB / 1.195 GB, free: 10.51 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005657/0.9936, allocations: 341.4 kB / 1.195 GB, free: 10.27 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.9937, allocations: 123.2 kB / 1.195 GB, free: 10.19 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.701e-05/0.9938, allocations: 13.48 kB / 1.195 GB, free: 10.19 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.959e-05/0.9938, allocations: 20.27 kB / 1.195 GB, free: 10.18 MB / 1.076 GB Notification: Performance of SimCode: time 3.41e-07/0.9938, allocations: 0 / 1.195 GB, free: 10.18 MB / 1.076 GB Notification: Performance of Templates: time 0.006399/1, allocations: 2.128 MB / 1.197 GB, free: 9.945 MB / 1.076 GB " [Timeout remaining time 299] 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.958334972034208]