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.00145/0.00145, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001634/0.001634, allocations: 210.3 kB / 22.99 MB, free: 4.957 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.32/3.32, allocations: 0.49 GB / 0.7959 GB, free: 35.53 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.002105/0.002105, allocations: 64.78 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4251/0.4272, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.0039/0.4311, allocations: 2.015 MB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.4325, allocations: 0.6195 MB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.4326, allocations: 4 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.4328, allocations: 23.67 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.074e-05/0.4328, allocations: 35.61 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.4332, allocations: 99.83 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002972/0.4335, allocations: 236 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002308/0.4337, allocations: 83.98 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.434, allocations: 99.58 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.4341, allocations: 111.5 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.145e-05/0.4342, allocations: 24 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.929e-05/0.4342, allocations: 32 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.007e-05/0.4343, allocations: 55.78 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.4345, allocations: 83.53 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004048/0.4349, allocations: 294.8 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4349, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4349, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.4349, allocations: 0 / 1.331 GB, free: 13.16 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.0008622/0.4358, allocations: 465.1 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.4358, allocations: 8.031 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003216/0.4361, allocations: 52.72 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/0.4365, allocations: 194.1 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.4366, allocations: 12.38 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.218e-05/0.4366, allocations: 16.38 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004902/0.4371, allocations: 313.9 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.4371, allocations: 3.984 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.077e-05/0.4371, allocations: 12 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.4371, allocations: 4 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003213/0.4375, allocations: 135.9 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000932/0.4384, allocations: 475.6 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004124/0.4388, allocations: 122.6 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.4389, allocations: 40.84 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.4389, allocations: 4 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.439, allocations: 30.75 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/0.439, allocations: 3.938 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0004846/0.4395, allocations: 173.5 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.818e-05/0.4396, allocations: 132.5 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.4398, allocations: 199.1 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.4398, allocations: 29.7 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.44, allocations: 156.3 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.44, allocations: 27.75 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.799e-05/0.4401, allocations: 41.7 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.4403, allocations: 330.8 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.4404, allocations: 39.98 kB / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.4406, allocations: 165.4 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.4408, allocations: 88.38 kB / 1.334 GB, free: 9.699 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4408, allocations: 0 / 1.334 GB, free: 9.699 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003166/0.4411, allocations: 149.5 kB / 1.334 GB, free: 9.547 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.4412, allocations: 8 kB / 1.334 GB, free: 9.539 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.4412, allocations: 0 / 1.334 GB, free: 9.539 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.4412, allocations: 0 / 1.334 GB, free: 9.539 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.4413, allocations: 23.95 kB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.4413, allocations: 7.938 kB / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.4414, allocations: 27.88 kB / 1.334 GB, free: 9.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.4415, allocations: 8 kB / 1.334 GB, free: 9.473 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.0001687/0.4416, allocations: 135.9 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.604e-05/0.4417, allocations: 15.91 kB / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.502e-05/0.4417, allocations: 21.41 kB / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4417, allocations: 4 kB / 1.334 GB, free: 9.289 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.4417, allocations: 7.922 kB / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.4417, allocations: 4 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.442, allocations: 181.2 kB / 1.334 GB, free: 9.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.442, allocations: 0 / 1.334 GB, free: 9.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.4421, allocations: 15.94 kB / 1.334 GB, free: 9.055 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.4421, allocations: 3.984 kB / 1.335 GB, free: 9.051 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.4421, allocations: 0 / 1.335 GB, free: 9.051 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4421, allocations: 3.938 kB / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.4421, allocations: 384 / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000391/0.4425, allocations: 239.2 kB / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.647e-05/0.4426, allocations: 15.91 kB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.4426, allocations: 4 kB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.4428, allocations: 19.97 kB / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.121e-05/0.4428, allocations: 23.95 kB / 1.335 GB, free: 8.734 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.4429, allocations: 11.94 kB / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001583/0.443, allocations: 136.5 kB / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.443, allocations: 0 / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002826/0.4433, allocations: 43.83 kB / 1.335 GB, free: 8.547 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.0001547/0.4435, allocations: 107.3 kB / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003544/0.4438, allocations: 103.9 kB / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4438, allocations: 0 / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.4439, allocations: 51.91 kB / 1.335 GB, free: 8.277 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.4443, allocations: 23.8 kB / 1.335 GB, free: 8.254 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006539/0.4449, allocations: 333 kB / 1.336 GB, free: 7.902 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.4451, allocations: 125 kB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.375e-05/0.4452, allocations: 17.42 kB / 1.336 GB, free: 7.746 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.98e-05/0.4452, allocations: 19.44 kB / 1.336 GB, free: 7.727 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.4452, allocations: 4 kB / 1.336 GB, free: 7.723 MB / 1.029 GB Notification: Performance of Templates: time 0.006344/0.4516, allocations: 2.301 MB / 1.338 GB, free: 5.469 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 -s cvode -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: 9.731794377992628]