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.0009371/0.0009371, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009821/0.0009821, allocations: 181 kB / 23.36 MB, free: 1.133 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.9262/0.9262, allocations: 177.1 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.385/2.385, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] 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.062e-06/1.062e-06, allocations: 0 / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.615e-05/1.721e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002325/0.002342, allocations: 2.11 MB / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008125/0.003155, allocations: 0.6388 MB / 0.8413 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.868e-05/0.003233, allocations: 3.938 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 9.913e-05/0.003333, allocations: 19.73 kB / 0.8414 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.444e-05/0.003397, allocations: 47.47 kB / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.003639, allocations: 99.77 kB / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.003821, allocations: 236 kB / 0.8417 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.003971, allocations: 82.66 kB / 0.8418 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.004154, allocations: 155.5 kB / 0.842 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.315e-05/0.004237, allocations: 67.78 kB / 0.842 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.004262, allocations: 24 kB / 0.842 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.211e-05/0.004334, allocations: 32 kB / 0.8421 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.585e-05/0.00438, allocations: 51.75 kB / 0.8421 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.01e-05/0.00443, allocations: 67.83 kB / 0.8422 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.004612, allocations: 171.3 kB / 0.8423 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.004613, allocations: 0 / 0.8423 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.52e-07/0.004614, allocations: 0 / 0.8423 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.004618, allocations: 4 kB / 0.8424 GB, free: 10.31 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.0003991/0.005017, allocations: 423.7 kB / 0.8428 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.005049, allocations: 8.625 kB / 0.8428 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.005237, allocations: 60.83 kB / 0.8428 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.005413, allocations: 186.1 kB / 0.843 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.005427, allocations: 20.36 kB / 0.843 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.005446, allocations: 20.38 kB / 0.843 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.005664, allocations: 250 kB / 0.8433 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.005671, allocations: 4.188 kB / 0.8433 GB, free: 9.27 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.005685, allocations: 12.38 kB / 0.8433 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.005691, allocations: 7.938 kB / 0.8433 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.757e-05/0.005759, allocations: 46.53 kB / 0.8433 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.006187, allocations: 353.2 kB / 0.8437 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.006304, allocations: 50.55 kB / 0.8437 GB, free: 8.781 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.905e-05/0.006333, allocations: 32.84 kB / 0.8438 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.006347, allocations: 4.125 kB / 0.8438 GB, free: 8.742 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.006367, allocations: 34.56 kB / 0.8438 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.006368, allocations: 0 / 0.8438 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0001334/0.006502, allocations: 77.59 kB / 0.8439 GB, free: 8.617 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.006544, allocations: 132.5 kB / 0.844 GB, free: 8.457 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.584e-05/0.00664, allocations: 183.8 kB / 0.8442 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.006659, allocations: 33.7 kB / 0.8442 GB, free: 8.227 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.058e-05/0.006719, allocations: 140.3 kB / 0.8443 GB, free: 8.086 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.006738, allocations: 31.72 kB / 0.8444 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.006783, allocations: 41.62 kB / 0.8444 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.773e-05/0.006861, allocations: 334.7 kB / 0.8447 GB, free: 7.672 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.246e-05/0.006883, allocations: 15.98 kB / 0.8447 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.977e-05/0.006953, allocations: 125.4 kB / 0.8449 GB, free: 7.5 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.186e-05/0.007005, allocations: 45.61 kB / 0.8449 GB, free: 7.449 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.007007, allocations: 0 / 0.8449 GB, free: 7.449 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14) (initialization): time 8.991e-05/0.007096, allocations: 84.67 kB / 0.845 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.007107, allocations: 7.984 kB / 0.845 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.007111, allocations: 0 / 0.845 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.007121, allocations: 3.938 kB / 0.845 GB, free: 7.352 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.503e-05/0.007176, allocations: 24.02 kB / 0.845 GB, free: 7.328 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.007179, allocations: 0 / 0.845 GB, free: 7.328 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.944e-05/0.007219, allocations: 15.94 kB / 0.845 GB, free: 7.312 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.007225, allocations: 0 / 0.845 GB, free: 7.312 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.877e-05/0.007294, allocations: 124.6 kB / 0.8452 GB, free: 7.18 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.007317, allocations: 11.98 kB / 0.8452 GB, free: 7.168 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.892e-05/0.007346, allocations: 25.39 kB / 0.8452 GB, free: 7.148 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.007347, allocations: 0 / 0.8452 GB, free: 7.148 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.007349, allocations: 0 / 0.8452 GB, free: 7.148 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.007351, allocations: 4 kB / 0.8452 GB, free: 7.145 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.007468, allocations: 125.8 kB / 0.8453 GB, free: 7.004 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.007469, allocations: 3.938 kB / 0.8453 GB, free: 7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.653e-05/0.007506, allocations: 15.98 kB / 0.8453 GB, free: 6.984 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.007507, allocations: 0 / 0.8453 GB, free: 6.984 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.007513, allocations: 0 / 0.8453 GB, free: 6.984 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.007514, allocations: 0 / 0.8453 GB, free: 6.984 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.007515, allocations: 0 / 0.8453 GB, free: 6.984 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.74e-05/0.007612, allocations: 171.4 kB / 0.8455 GB, free: 6.801 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.475e-05/0.007627, allocations: 19.88 kB / 0.8455 GB, free: 6.781 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.007645, allocations: 8 kB / 0.8455 GB, free: 6.773 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.355e-05/0.007699, allocations: 15.98 kB / 0.8455 GB, free: 6.758 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.007746, allocations: 23.95 kB / 0.8456 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.00775, allocations: 0 / 0.8456 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.721e-05/0.007787, allocations: 57.8 kB / 0.8456 GB, free: 6.676 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.007787, allocations: 0 / 0.8456 GB, free: 6.676 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001412/0.007928, allocations: 43.83 kB / 0.8457 GB, free: 6.633 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.574e-05/0.007994, allocations: 88.34 kB / 0.8457 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.939e-05/0.008083, allocations: 61.22 kB / 0.8458 GB, free: 6.477 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.299e-06/0.008088, allocations: 7.938 kB / 0.8458 GB, free: 6.469 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.237e-05/0.00812, allocations: 24.8 kB / 0.8458 GB, free: 6.441 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.008266, allocations: 28.53 kB / 0.8459 GB, free: 6.414 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005308/0.008796, allocations: 321.1 kB / 0.8462 GB, free: 6.066 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.015e-05/0.008837, allocations: 72.08 kB / 0.8462 GB, free: 5.977 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.227e-05/0.008889, allocations: 17.55 kB / 0.8463 GB, free: 5.953 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.996e-05/0.008979, allocations: 87.34 kB / 0.8463 GB, free: 5.867 MB / 0.8073 GB Notification: Performance of SimCode: time 3.91e-07/0.008979, allocations: 0 / 0.8463 GB, free: 5.867 MB / 0.8073 GB Notification: Performance of Templates: time 0.003568/0.01255, allocations: 2.12 MB / 0.8484 GB, free: 3.82 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 -s gbode -gbm=radauIIA3 -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: 5.083169470075518]