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.001343/0.001343, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001475/0.001475, allocations: 163.8 kB / 24.86 MB, free: 8.824 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.8748/0.8748, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.777/1.777, allocations: 377.9 MB / 0.6247 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.282e-06/1.282e-06, allocations: 0 / 0.8128 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004e-05/1.132e-05, allocations: 3.312 kB / 0.8128 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002071/0.002082, allocations: 2.059 MB / 0.8148 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0007422/0.002824, allocations: 0.6364 MB / 0.8154 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.421e-05/0.002908, allocations: 5.75 kB / 0.8154 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 9.73e-05/0.003006, allocations: 23.67 kB / 0.8155 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.897e-05/0.003065, allocations: 44.75 kB / 0.8155 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.0033, allocations: 95.83 kB / 0.8156 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000173/0.003473, allocations: 241.5 kB / 0.8158 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.003623, allocations: 76.03 kB / 0.8159 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.003785, allocations: 143.7 kB / 0.816 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.753e-05/0.003863, allocations: 67.78 kB / 0.8161 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.003886, allocations: 26.5 kB / 0.8161 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.67e-05/0.003943, allocations: 35.81 kB / 0.8162 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.465e-05/0.003987, allocations: 55.81 kB / 0.8162 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.795e-05/0.004035, allocations: 67.83 kB / 0.8163 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.004206, allocations: 171.3 kB / 0.8164 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.004208, allocations: 0 / 0.8164 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.61e-07/0.004208, allocations: 0 / 0.8164 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.004212, allocations: 0.7188 kB / 0.8164 GB, free: 13.68 MB / 0.7761 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.0004399/0.004652, allocations: 0.5351 MB / 0.817 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.598e-05/0.004678, allocations: 9.688 kB / 0.817 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/0.004865, allocations: 56.78 kB / 0.817 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.005042, allocations: 200.8 kB / 0.8172 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.005058, allocations: 21.03 kB / 0.8172 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.005076, allocations: 16.38 kB / 0.8173 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.00528, allocations: 271.3 kB / 0.8175 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.005288, allocations: 192 / 0.8175 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.005301, allocations: 9.531 kB / 0.8175 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.005307, allocations: 7.938 kB / 0.8175 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.461e-05/0.005372, allocations: 43.95 kB / 0.8176 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004605/0.005833, allocations: 480.9 kB / 0.818 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.005965, allocations: 76.36 kB / 0.8181 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.147e-05/0.005997, allocations: 27.67 kB / 0.8181 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.00601, allocations: 4.875 kB / 0.8181 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.006028, allocations: 37.33 kB / 0.8182 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=10): time 1.153e-06/0.006029, allocations: 0.6562 kB / 0.8182 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10): time 0.0001604/0.00619, allocations: 102.3 kB / 0.8183 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.006233, allocations: 128.5 kB / 0.8184 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.006342, allocations: 243.3 kB / 0.8186 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.006358, allocations: 31.61 kB / 0.8186 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.587e-05/0.006434, allocations: 199 kB / 0.8188 GB, free: 11 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.006453, allocations: 31.77 kB / 0.8189 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.006502, allocations: 47.34 kB / 0.8189 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.006609, allocations: 0.5 MB / 0.8194 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.5e-05/0.006634, allocations: 12.7 kB / 0.8194 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.356e-05/0.006697, allocations: 143.5 kB / 0.8196 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.375e-05/0.006751, allocations: 53.67 kB / 0.8196 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.006753, allocations: 0 / 0.8196 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000339/0.007092, allocations: 107.8 kB / 0.8197 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.007103, allocations: 8 kB / 0.8197 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.007107, allocations: 0 / 0.8197 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.033e-06/0.007114, allocations: 1.906 kB / 0.8197 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.299e-05/0.007167, allocations: 15.98 kB / 0.8197 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.007169, allocations: 0 / 0.8197 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.039e-05/0.007209, allocations: 8 kB / 0.8197 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.007217, allocations: 4.5 kB / 0.8197 GB, free: 10.01 MB / 0.7761 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 7.76e-05/0.007294, allocations: 178.8 kB / 0.8199 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.007321, allocations: 15.91 kB / 0.8199 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.462e-05/0.007346, allocations: 17.47 kB / 0.8199 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.007348, allocations: 4 kB / 0.8199 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.007349, allocations: 0 / 0.8199 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.007352, allocations: 0.6562 kB / 0.8199 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.007493, allocations: 161 kB / 0.8201 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.007494, allocations: 7.672 kB / 0.8201 GB, free: 9.605 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.794e-05/0.007532, allocations: 19.98 kB / 0.8201 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.007533, allocations: 0 / 0.8201 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.00754, allocations: 3.984 kB / 0.8201 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.007542, allocations: 7.938 kB / 0.8201 GB, free: 9.574 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.007543, allocations: 0 / 0.8201 GB, free: 9.574 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.007669, allocations: 239.7 kB / 0.8204 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.477e-05/0.007684, allocations: 15.91 kB / 0.8204 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.007702, allocations: 0 / 0.8204 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.281e-05/0.007755, allocations: 15.98 kB / 0.8204 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.0078, allocations: 21.95 kB / 0.8204 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.007806, allocations: 4 kB / 0.8204 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.758e-05/0.007863, allocations: 171.9 kB / 0.8206 GB, free: 9.098 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007863, allocations: 0 / 0.8206 GB, free: 9.098 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001646/0.008028, allocations: 39.89 kB / 0.8206 GB, free: 9.059 MB / 0.7761 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.929e-05/0.008097, allocations: 105.2 kB / 0.8207 GB, free: 8.949 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.008203, allocations: 55.59 kB / 0.8208 GB, free: 8.891 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.82e-07/0.008204, allocations: 4 kB / 0.8208 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.889e-05/0.008243, allocations: 32.78 kB / 0.8208 GB, free: 8.852 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.008441, allocations: 32.89 kB / 0.8208 GB, free: 8.82 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005299/0.008971, allocations: 323.6 kB / 0.8212 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.886e-05/0.00901, allocations: 77.12 kB / 0.8212 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.248e-05/0.009062, allocations: 15.27 kB / 0.8212 GB, free: 8.367 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.792e-05/0.00916, allocations: 107.5 kB / 0.8213 GB, free: 8.262 MB / 0.7761 GB Notification: Performance of SimCode: time 6.32e-07/0.009161, allocations: 0 / 0.8213 GB, free: 8.262 MB / 0.7761 GB Notification: Performance of Templates: time 0.003525/0.01269, allocations: 2.23 MB / 0.8235 GB, free: 6.094 MB / 0.7761 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 -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.710284383036196]