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.0009844/0.0009844, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009715/0.0009715, allocations: 169 kB / 24.28 MB, free: 280 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.9751/0.9751, allocations: 177.2 MB / 204.6 MB, free: 5.633 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.772/1.772, allocations: 359 MB / 0.6055 GB, free: 11.01 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.713e-06/1.713e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.576e-05, allocations: 7.5 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002662/0.002688, allocations: 2.083 MB / 0.7891 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000995/0.003683, allocations: 0.625 MB / 0.7898 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.003803, allocations: 6.312 kB / 0.7898 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.003945, allocations: 27.67 kB / 0.7898 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.086e-05/0.004016, allocations: 35.59 kB / 0.7898 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.004402, allocations: 99.77 kB / 0.7899 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.004651, allocations: 237.8 kB / 0.7901 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.004862, allocations: 80.69 kB / 0.7902 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002411/0.005103, allocations: 143.6 kB / 0.7904 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.151e-05/0.005194, allocations: 75.77 kB / 0.7904 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.005225, allocations: 24.53 kB / 0.7905 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.244e-05/0.005297, allocations: 33.41 kB / 0.7905 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.801e-05/0.005355, allocations: 59.77 kB / 0.7905 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.233e-05/0.005418, allocations: 71.81 kB / 0.7906 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.005673, allocations: 183.2 kB / 0.7908 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.005676, allocations: 1.156 kB / 0.7908 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.442e-06/0.005678, allocations: 0 / 0.7908 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.005683, allocations: 0 / 0.7908 GB, free: 9.027 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.0006298/0.006313, allocations: 0.5398 MB / 0.7913 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.006359, allocations: 12.03 kB / 0.7913 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002718/0.00663, allocations: 58.53 kB / 0.7914 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.006904, allocations: 204.2 kB / 0.7916 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.006921, allocations: 13.47 kB / 0.7916 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.006944, allocations: 16.38 kB / 0.7916 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.007247, allocations: 282.2 kB / 0.7919 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.007256, allocations: 0.6875 kB / 0.7919 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.007275, allocations: 10.31 kB / 0.7919 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.007284, allocations: 7.938 kB / 0.7919 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.007399, allocations: 59.95 kB / 0.7919 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006916/0.00809, allocations: 0.5169 MB / 0.7925 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.008313, allocations: 83.2 kB / 0.7925 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.716e-05/0.00836, allocations: 23.69 kB / 0.7926 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.008379, allocations: 4 kB / 0.7926 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.008402, allocations: 38.11 kB / 0.7926 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.833e-06/0.008403, allocations: 0 / 0.7926 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0002437/0.008647, allocations: 110.2 kB / 0.7927 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.008703, allocations: 128.5 kB / 0.7928 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.008854, allocations: 243.5 kB / 0.7931 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.008876, allocations: 33.7 kB / 0.7931 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.077e-05/0.008966, allocations: 195.1 kB / 0.7933 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.008989, allocations: 35.67 kB / 0.7933 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.354e-05/0.009043, allocations: 43.92 kB / 0.7933 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.009162, allocations: 0.5005 MB / 0.7938 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.4e-05/0.009206, allocations: 15.98 kB / 0.7939 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.22e-05/0.009298, allocations: 148.3 kB / 0.794 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.011e-05/0.009378, allocations: 52.2 kB / 0.794 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.00938, allocations: 0 / 0.794 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001552/0.009535, allocations: 112.3 kB / 0.7941 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.009551, allocations: 11.98 kB / 0.7942 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.009556, allocations: 1.281 kB / 0.7942 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.009568, allocations: 0 / 0.7942 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.073e-05/0.009639, allocations: 15.94 kB / 0.7942 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.009644, allocations: 0 / 0.7942 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.612e-05/0.0097, allocations: 24.77 kB / 0.7942 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.009709, allocations: 1.156 kB / 0.7942 GB, free: 5.238 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 9.169e-05/0.0098, allocations: 172.5 kB / 0.7944 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.009829, allocations: 17.28 kB / 0.7944 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.558e-05/0.009865, allocations: 21.47 kB / 0.7944 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.009868, allocations: 4 kB / 0.7944 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.009871, allocations: 1.5 kB / 0.7944 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.009878, allocations: 7.984 kB / 0.7944 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.01005, allocations: 192.5 kB / 0.7946 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01006, allocations: 3.984 kB / 0.7946 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.547e-05/0.0101, allocations: 18.78 kB / 0.7946 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.0101, allocations: 0 / 0.7946 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.01012, allocations: 7.984 kB / 0.7946 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.01012, allocations: 0 / 0.7946 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.01012, allocations: 0 / 0.7946 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.0103, allocations: 243.7 kB / 0.7949 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.108e-05/0.01032, allocations: 19.88 kB / 0.7949 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.01035, allocations: 4 kB / 0.7949 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.942e-05/0.01042, allocations: 18.23 kB / 0.7949 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.685e-05/0.01049, allocations: 19.95 kB / 0.7949 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.01049, allocations: 7.984 kB / 0.7949 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.411e-05/0.01058, allocations: 170.9 kB / 0.7951 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01058, allocations: 0 / 0.7951 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001898/0.01077, allocations: 41.23 kB / 0.7951 GB, free: 4.234 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 9.555e-05/0.01086, allocations: 104.3 kB / 0.7952 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001674/0.01103, allocations: 67.59 kB / 0.7953 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01103, allocations: 0 / 0.7953 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.401e-05/0.01109, allocations: 44.2 kB / 0.7953 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.01132, allocations: 28.55 kB / 0.7954 GB, free: 3.98 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007088/0.01202, allocations: 329.5 kB / 0.7957 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.429e-05/0.01207, allocations: 75.83 kB / 0.7958 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.523e-05/0.01212, allocations: 15.58 kB / 0.7958 GB, free: 3.52 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.107e-05/0.01218, allocations: 16.5 kB / 0.7958 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of SimCode: time 8.52e-07/0.01218, allocations: 0 / 0.7958 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of Templates: time 0.003969/0.01615, allocations: 2.151 MB / 0.7979 GB, free: 1.414 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.007092372979969]