Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001245/0.001245, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001396/0.001396, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9862/0.9862, allocations: 177.2 MB / 204.2 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.809/1.809, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.388e-05/1.531e-05, allocations: 6.844 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002294/0.002309, allocations: 2.087 MB / 0.7892 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008628/0.003172, allocations: 0.6253 MB / 0.7898 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.691e-05/0.003269, allocations: 9.062 kB / 0.7898 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.003389, allocations: 19.73 kB / 0.7898 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.781e-05/0.003457, allocations: 40.72 kB / 0.7898 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.003794, allocations: 112.3 kB / 0.7899 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.003998, allocations: 232 kB / 0.7902 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.004162, allocations: 78.78 kB / 0.7902 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.004361, allocations: 139.7 kB / 0.7904 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.019e-05/0.004451, allocations: 79.72 kB / 0.7905 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/0.004481, allocations: 24 kB / 0.7905 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.927e-05/0.004551, allocations: 35.92 kB / 0.7905 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.306e-05/0.004604, allocations: 51.83 kB / 0.7906 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.17e-05/0.004666, allocations: 81.22 kB / 0.7906 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.004879, allocations: 171.3 kB / 0.7908 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.004881, allocations: 0 / 0.7908 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.21e-07/0.004881, allocations: 0 / 0.7908 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.197e-06/0.004886, allocations: 0 / 0.7908 GB, free: 8.688 MB / 0.7448 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.0005441/0.00543, allocations: 0.5515 MB / 0.7913 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.005465, allocations: 12.84 kB / 0.7913 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002175/0.005683, allocations: 58.59 kB / 0.7914 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.005912, allocations: 192.2 kB / 0.7916 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.005931, allocations: 16.38 kB / 0.7916 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.005955, allocations: 16.38 kB / 0.7916 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.00624, allocations: 283.7 kB / 0.7919 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.006252, allocations: 192 / 0.7919 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.006269, allocations: 12.38 kB / 0.7919 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.00628, allocations: 7.938 kB / 0.7919 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.006392, allocations: 58.52 kB / 0.792 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006079/0.007, allocations: 0.5222 MB / 0.7925 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.007211, allocations: 79.75 kB / 0.7926 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.308e-05/0.007254, allocations: 24.41 kB / 0.7926 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.007273, allocations: 4 kB / 0.7926 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.007294, allocations: 37.91 kB / 0.7926 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.994e-06/0.007296, allocations: 5.609 kB / 0.7926 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0002191/0.007515, allocations: 109.6 kB / 0.7927 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.007559, allocations: 128.5 kB / 0.7928 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.007692, allocations: 247.3 kB / 0.7931 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.007711, allocations: 34.3 kB / 0.7931 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.315e-05/0.007794, allocations: 191.1 kB / 0.7933 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.007815, allocations: 32.42 kB / 0.7933 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.017e-05/0.007865, allocations: 43.36 kB / 0.7934 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.007973, allocations: 0.4968 MB / 0.7939 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.12e-05/0.008014, allocations: 19.98 kB / 0.7939 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.732e-05/0.008102, allocations: 148.5 kB / 0.794 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.336e-05/0.008175, allocations: 50.61 kB / 0.7941 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.008177, allocations: 5.312 kB / 0.7941 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001316/0.008309, allocations: 113.5 kB / 0.7942 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.008321, allocations: 8 kB / 0.7942 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.008325, allocations: 1.094 kB / 0.7942 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.00834, allocations: 0 / 0.7942 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.208e-05/0.008402, allocations: 20.52 kB / 0.7942 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.008408, allocations: 0 / 0.7942 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.492e-05/0.008463, allocations: 24.8 kB / 0.7942 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.008471, allocations: 0 / 0.7942 GB, free: 4.887 MB / 0.7448 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 8.475e-05/0.008556, allocations: 175 kB / 0.7944 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.008583, allocations: 15.91 kB / 0.7944 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.008615, allocations: 21.45 kB / 0.7944 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.008618, allocations: 4 kB / 0.7944 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.008622, allocations: 0 / 0.7944 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.008624, allocations: 0.9062 kB / 0.7944 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.008776, allocations: 200.4 kB / 0.7946 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.008777, allocations: 2.156 kB / 0.7946 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.932e-05/0.008816, allocations: 11.94 kB / 0.7946 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.008818, allocations: 0 / 0.7946 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.008829, allocations: 11.98 kB / 0.7947 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.00883, allocations: 0 / 0.7947 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.00883, allocations: 0 / 0.7947 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.008984, allocations: 241.9 kB / 0.7949 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.658e-05/0.009001, allocations: 15.84 kB / 0.7949 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.009029, allocations: 4 kB / 0.7949 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.284e-05/0.009091, allocations: 19.98 kB / 0.7949 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.17e-05/0.009153, allocations: 23.94 kB / 0.7949 GB, free: 4.098 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.009159, allocations: 4.5 kB / 0.7949 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.02e-05/0.009229, allocations: 172.7 kB / 0.7951 GB, free: 3.926 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009229, allocations: 0 / 0.7951 GB, free: 3.926 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000173/0.009402, allocations: 41.8 kB / 0.7952 GB, free: 3.887 MB / 0.7448 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 7.397e-05/0.009476, allocations: 103.2 kB / 0.7953 GB, free: 3.777 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001443/0.009621, allocations: 68.69 kB / 0.7953 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.009622, allocations: 0 / 0.7953 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.977e-05/0.009672, allocations: 35.61 kB / 0.7954 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.009876, allocations: 24.58 kB / 0.7954 GB, free: 3.645 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006506/0.01053, allocations: 331.4 kB / 0.7957 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.046e-05/0.01057, allocations: 75.83 kB / 0.7958 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.928e-05/0.01062, allocations: 17.52 kB / 0.7958 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.111e-05/0.01067, allocations: 24.48 kB / 0.7958 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of SimCode: time 8.22e-07/0.01067, allocations: 1.531 kB / 0.7958 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of Templates: time 0.003705/0.01437, allocations: 2.142 MB / 0.7979 GB, free: 1.078 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 5.1347422348335385]