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.001307/0.001307, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001496/0.001496, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9659/0.9659, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.9/1.9, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.7601 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.198e-05/1.327e-05, allocations: 7.125 kB / 0.7601 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002245/0.002258, allocations: 2.117 MB / 0.7621 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008073/0.003065, allocations: 0.6539 MB / 0.7628 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.726e-05/0.003152, allocations: 5.219 kB / 0.7628 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.676e-05/0.003249, allocations: 23.67 kB / 0.7628 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.21e-05/0.003321, allocations: 44.56 kB / 0.7629 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.003555, allocations: 99.81 kB / 0.7629 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.003739, allocations: 239.9 kB / 0.7632 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.003881, allocations: 83.39 kB / 0.7633 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.004049, allocations: 135.7 kB / 0.7634 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.232e-05/0.004132, allocations: 76.64 kB / 0.7635 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.004156, allocations: 23.94 kB / 0.7635 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.931e-05/0.004225, allocations: 40.52 kB / 0.7635 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.548e-05/0.004271, allocations: 51.83 kB / 0.7636 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.345e-05/0.004324, allocations: 69.7 kB / 0.7636 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.004501, allocations: 171.3 kB / 0.7638 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.004502, allocations: 0 / 0.7638 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.91e-07/0.004503, allocations: 0 / 0.7638 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.004506, allocations: 0 / 0.7638 GB, free: 2.797 MB / 0.7136 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.0003798/0.004886, allocations: 421 kB / 0.7642 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.004916, allocations: 12.03 kB / 0.7642 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001789/0.005094, allocations: 49.42 kB / 0.7643 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.00527, allocations: 182.9 kB / 0.7644 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.005286, allocations: 12.91 kB / 0.7644 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.005305, allocations: 20.38 kB / 0.7645 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.005514, allocations: 266.4 kB / 0.7647 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.005523, allocations: 2.094 kB / 0.7647 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.005534, allocations: 8.359 kB / 0.7647 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.005542, allocations: 7.938 kB / 0.7647 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.38e-05/0.005606, allocations: 50.73 kB / 0.7648 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/0.006022, allocations: 355.9 kB / 0.7651 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.006136, allocations: 54.55 kB / 0.7652 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.825e-05/0.006164, allocations: 20.84 kB / 0.7652 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.006178, allocations: 4 kB / 0.7652 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.006197, allocations: 40.3 kB / 0.7652 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.006198, allocations: 4 kB / 0.7652 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0006028/0.006801, allocations: 73.8 kB / 0.7653 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.006842, allocations: 128.5 kB / 0.7654 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.332e-05/0.006935, allocations: 184.1 kB / 0.7656 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.872e-05/0.006954, allocations: 34.64 kB / 0.7656 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.509e-05/0.007009, allocations: 136.3 kB / 0.7658 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.007028, allocations: 36.53 kB / 0.7658 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.179e-05/0.00707, allocations: 37.69 kB / 0.7658 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.054e-05/0.00714, allocations: 330.7 kB / 0.7662 GB, free: 192 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.252e-05/0.007163, allocations: 16.44 kB / 0.7662 GB, free: 176 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.166e-05/0.007224, allocations: 137.6 kB / 0.7663 GB, free: 8 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.045e-05/0.007285, allocations: 40.62 kB / 0.7663 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.007286, allocations: 0 / 0.7663 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 8.492e-05/0.007371, allocations: 81.53 kB / 0.7664 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.007382, allocations: 8 kB / 0.7664 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.007386, allocations: 0 / 0.7664 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.007397, allocations: 0 / 0.7664 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.534e-05/0.007452, allocations: 22.36 kB / 0.7665 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.007455, allocations: 0 / 0.7665 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.82e-05/0.007493, allocations: 19.88 kB / 0.7665 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.007502, allocations: 8 kB / 0.7665 GB, free: 15.82 MB / 0.7292 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.427e-05/0.007566, allocations: 121.9 kB / 0.7666 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.007591, allocations: 11.98 kB / 0.7666 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.574e-05/0.007617, allocations: 21.45 kB / 0.7666 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.007619, allocations: 4 kB / 0.7666 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.007621, allocations: 0.875 kB / 0.7666 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.007623, allocations: 0 / 0.7666 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.00774, allocations: 127 kB / 0.7668 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.007742, allocations: 3.938 kB / 0.7668 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.571e-05/0.007778, allocations: 15.92 kB / 0.7668 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.00778, allocations: 11.31 kB / 0.7668 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.007786, allocations: 0 / 0.7668 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.007786, allocations: 0 / 0.7668 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.007787, allocations: 0 / 0.7668 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.174e-05/0.007879, allocations: 163.5 kB / 0.7669 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.372e-05/0.007892, allocations: 19.78 kB / 0.767 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.007909, allocations: 4 kB / 0.767 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.953e-05/0.007959, allocations: 11.98 kB / 0.767 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.008006, allocations: 23.95 kB / 0.767 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.00801, allocations: 3.5 kB / 0.767 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.639e-05/0.008046, allocations: 57.8 kB / 0.7671 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.008046, allocations: 0 / 0.7671 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001441/0.00819, allocations: 31.89 kB / 0.7671 GB, free: 15.16 MB / 0.7292 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.491e-05/0.008255, allocations: 92.45 kB / 0.7672 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.77e-05/0.008343, allocations: 48.78 kB / 0.7672 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.008346, allocations: 6.938 kB / 0.7672 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.315e-05/0.008379, allocations: 28.78 kB / 0.7673 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.008526, allocations: 31.84 kB / 0.7673 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005185/0.009044, allocations: 333.6 kB / 0.7676 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.797e-05/0.009082, allocations: 75.77 kB / 0.7677 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.391e-05/0.009136, allocations: 13.48 kB / 0.7677 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.94e-05/0.009225, allocations: 83.36 kB / 0.7678 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of SimCode: time 4.1e-07/0.009226, allocations: 0.75 kB / 0.7678 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of Templates: time 0.00348/0.01271, allocations: 2.129 MB / 0.7698 GB, free: 12.42 MB / 0.7292 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 240] 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","",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.7351495791226625]