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.000897/0.000897, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.0009336/0.0009336, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 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.9143/0.9143, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.26/2.26, allocations: 438.8 MB / 0.6826 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.1.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: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.273e-05/1.389e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002094/0.002108, allocations: 2.079 MB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0007672/0.002875, allocations: 0.6426 MB / 0.8413 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.526e-05/0.00295, allocations: 0 / 0.8413 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 9.76e-05/0.003048, allocations: 23.67 kB / 0.8413 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.92e-05/0.003107, allocations: 43.59 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.003348, allocations: 99.77 kB / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.003514, allocations: 232 kB / 0.8416 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.003646, allocations: 82.66 kB / 0.8417 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.003805, allocations: 147.6 kB / 0.8419 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.015e-05/0.003885, allocations: 71.72 kB / 0.8419 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.003908, allocations: 24 kB / 0.8419 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.742e-05/0.003965, allocations: 35.92 kB / 0.842 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.58e-05/0.004011, allocations: 55.81 kB / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.533e-05/0.004056, allocations: 67.77 kB / 0.8421 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.00428, allocations: 175.3 kB / 0.8423 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.004281, allocations: 0 / 0.8423 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.81e-07/0.004282, allocations: 0 / 0.8423 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.016e-06/0.004285, allocations: 0 / 0.8423 GB, free: 10.4 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.0003696/0.004654, allocations: 411.8 kB / 0.8427 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.74e-05/0.004682, allocations: 8.625 kB / 0.8427 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.004855, allocations: 60.83 kB / 0.8427 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.005015, allocations: 194.1 kB / 0.8429 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.005028, allocations: 16.31 kB / 0.8429 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.005047, allocations: 20.38 kB / 0.8429 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.005249, allocations: 257.9 kB / 0.8432 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.005255, allocations: 192 / 0.8432 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.005267, allocations: 8.375 kB / 0.8432 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.005273, allocations: 7.938 kB / 0.8432 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.031e-05/0.005333, allocations: 46.58 kB / 0.8432 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003987/0.005732, allocations: 353 kB / 0.8436 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.005846, allocations: 66.47 kB / 0.8436 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.736e-05/0.005874, allocations: 24.84 kB / 0.8437 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.005885, allocations: 0 / 0.8437 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.005904, allocations: 38.55 kB / 0.8437 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 8.11e-07/0.005905, allocations: 0 / 0.8437 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0001251/0.00603, allocations: 77.8 kB / 0.8438 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.006077, allocations: 132.5 kB / 0.8439 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.385e-05/0.006171, allocations: 191.8 kB / 0.8441 GB, free: 8.352 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.006192, allocations: 33.7 kB / 0.8441 GB, free: 8.312 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.364e-05/0.006246, allocations: 136.3 kB / 0.8443 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.006265, allocations: 35.72 kB / 0.8443 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.006308, allocations: 33.69 kB / 0.8443 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.751e-05/0.006375, allocations: 334.7 kB / 0.8446 GB, free: 7.766 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.94e-05/0.006395, allocations: 8 kB / 0.8446 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.702e-05/0.006452, allocations: 129.4 kB / 0.8448 GB, free: 7.598 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.654e-05/0.006498, allocations: 45.61 kB / 0.8448 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.0065, allocations: 0 / 0.8448 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14) (initialization): time 7.937e-05/0.006579, allocations: 92.84 kB / 0.8449 GB, free: 7.453 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.887e-06/0.006588, allocations: 4 kB / 0.8449 GB, free: 7.449 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.006592, allocations: 0 / 0.8449 GB, free: 7.449 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.295e-06/0.0066, allocations: 0 / 0.8449 GB, free: 7.449 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.468e-05/0.006645, allocations: 15.98 kB / 0.8449 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.006649, allocations: 4 kB / 0.8449 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.946e-05/0.006688, allocations: 15.92 kB / 0.8449 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.006695, allocations: 4 kB / 0.8449 GB, free: 7.41 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 6.531e-05/0.00676, allocations: 128.6 kB / 0.8451 GB, free: 7.273 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.00678, allocations: 11.98 kB / 0.8451 GB, free: 7.262 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.281e-05/0.006803, allocations: 21.47 kB / 0.8451 GB, free: 7.246 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.006806, allocations: 11.92 kB / 0.8451 GB, free: 7.234 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.006807, allocations: 0 / 0.8451 GB, free: 7.234 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.00681, allocations: 0 / 0.8451 GB, free: 7.234 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.00692, allocations: 121.8 kB / 0.8452 GB, free: 7.098 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.006922, allocations: 3.938 kB / 0.8452 GB, free: 7.094 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.001e-05/0.006952, allocations: 8 kB / 0.8452 GB, free: 7.086 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.006954, allocations: 4 kB / 0.8452 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.00696, allocations: 7.984 kB / 0.8452 GB, free: 7.074 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.00696, allocations: 0 / 0.8452 GB, free: 7.074 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.006961, allocations: 0 / 0.8452 GB, free: 7.074 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.259e-05/0.007054, allocations: 171.4 kB / 0.8454 GB, free: 6.891 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.294e-05/0.007067, allocations: 15.84 kB / 0.8454 GB, free: 6.875 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.007085, allocations: 4 kB / 0.8454 GB, free: 6.871 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.766e-05/0.007132, allocations: 12 kB / 0.8454 GB, free: 6.859 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.007177, allocations: 27.94 kB / 0.8455 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.007181, allocations: 4 kB / 0.8455 GB, free: 6.828 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.458e-05/0.007216, allocations: 45.81 kB / 0.8455 GB, free: 6.781 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.007216, allocations: 4 kB / 0.8455 GB, free: 6.777 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001355/0.007352, allocations: 39.89 kB / 0.8456 GB, free: 6.738 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 6.221e-05/0.007414, allocations: 92.81 kB / 0.8456 GB, free: 6.641 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.212e-05/0.007496, allocations: 48.78 kB / 0.8457 GB, free: 6.59 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.007498, allocations: 0 / 0.8457 GB, free: 6.59 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.336e-05/0.007532, allocations: 36.77 kB / 0.8457 GB, free: 6.551 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.007668, allocations: 31.8 kB / 0.8458 GB, free: 6.52 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004985/0.008166, allocations: 321.2 kB / 0.8461 GB, free: 6.172 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.758e-05/0.008204, allocations: 76.08 kB / 0.8461 GB, free: 6.078 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.8e-05/0.008252, allocations: 21.52 kB / 0.8462 GB, free: 6.051 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.682e-05/0.008339, allocations: 87.34 kB / 0.8462 GB, free: 5.965 MB / 0.8073 GB Notification: Performance of SimCode: time 3.81e-07/0.008339, allocations: 0 / 0.8462 GB, free: 5.965 MB / 0.8073 GB Notification: Performance of Templates: time 0.003323/0.01166, allocations: 2.126 MB / 0.8483 GB, free: 3.914 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.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: 4.873326629865915]