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.001454/0.001454, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001659/0.001659, allocations: 161 kB / 23.82 MB, free: 0.75 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.9645/0.9645, allocations: 177.1 MB / 204.2 MB, free: 5.258 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.878/1.878, allocations: 377.8 MB / 0.6236 GB, free: 8.547 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.543e-06/1.543e-06, allocations: 0 / 0.8115 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.602e-05/2.756e-05, allocations: 3.25 kB / 0.8115 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003171/0.003199, allocations: 2.08 MB / 0.8136 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.004242, allocations: 0.6464 MB / 0.8142 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.004358, allocations: 4 kB / 0.8142 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.004487, allocations: 23.67 kB / 0.8142 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.76e-05/0.004575, allocations: 44.44 kB / 0.8143 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003924/0.004967, allocations: 100.4 kB / 0.8144 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.005225, allocations: 236 kB / 0.8146 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.005418, allocations: 81.42 kB / 0.8147 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002436/0.005662, allocations: 135.7 kB / 0.8148 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.00577, allocations: 75.77 kB / 0.8149 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.312e-05/0.005803, allocations: 25.25 kB / 0.8149 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.173e-05/0.005885, allocations: 39.92 kB / 0.8149 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.72e-05/0.005942, allocations: 55.77 kB / 0.815 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.185e-05/0.006004, allocations: 64.52 kB / 0.8151 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.006263, allocations: 179.3 kB / 0.8152 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.006266, allocations: 0.9062 kB / 0.8152 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.042e-06/0.006267, allocations: 0 / 0.8152 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.006273, allocations: 7.938 kB / 0.8152 GB, free: 12.79 MB / 0.7292 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.0006104/0.006883, allocations: 0.5396 MB / 0.8158 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.006923, allocations: 9.281 kB / 0.8158 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000255/0.007178, allocations: 60.77 kB / 0.8158 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.007486, allocations: 206.8 kB / 0.816 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.007511, allocations: 12.38 kB / 0.816 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.00754, allocations: 24.31 kB / 0.8161 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.007859, allocations: 274.3 kB / 0.8163 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.007872, allocations: 192 / 0.8163 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.007891, allocations: 13.27 kB / 0.8163 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.007903, allocations: 7.938 kB / 0.8163 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.008017, allocations: 57.48 kB / 0.8164 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007232/0.008741, allocations: 0.5231 MB / 0.8169 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.008966, allocations: 80.03 kB / 0.817 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.202e-05/0.009018, allocations: 35.73 kB / 0.817 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.009042, allocations: 0.5312 kB / 0.817 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.009069, allocations: 38.08 kB / 0.8171 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.009071, allocations: 0 / 0.8171 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.00024/0.009311, allocations: 106 kB / 0.8172 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.009361, allocations: 129.2 kB / 0.8173 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.009518, allocations: 237.8 kB / 0.8175 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.009544, allocations: 34.67 kB / 0.8175 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.706e-05/0.009641, allocations: 195.1 kB / 0.8177 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.009665, allocations: 35.73 kB / 0.8178 GB, free: 9.98 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.857e-05/0.009724, allocations: 39.89 kB / 0.8178 GB, free: 9.934 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.009861, allocations: 0.5053 MB / 0.8183 GB, free: 9.418 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.463e-05/0.009906, allocations: 12 kB / 0.8183 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.01002, allocations: 155.5 kB / 0.8184 GB, free: 9.215 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.317e-05/0.0101, allocations: 51.94 kB / 0.8185 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.0101, allocations: 0 / 0.8185 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001523/0.01025, allocations: 109.5 kB / 0.8186 GB, free: 9.047 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.01027, allocations: 4.594 kB / 0.8186 GB, free: 9.043 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.01028, allocations: 0.7812 kB / 0.8186 GB, free: 9.043 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.0103, allocations: 4 kB / 0.8186 GB, free: 9.039 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.391e-05/0.01037, allocations: 17.58 kB / 0.8186 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.01038, allocations: 0 / 0.8186 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.951e-05/0.01044, allocations: 23.88 kB / 0.8187 GB, free: 9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.01045, allocations: 4 kB / 0.8187 GB, free: 8.996 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 0.000101/0.01055, allocations: 174.9 kB / 0.8188 GB, free: 8.816 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.01058, allocations: 19.91 kB / 0.8188 GB, free: 8.797 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.479e-05/0.01063, allocations: 21.45 kB / 0.8189 GB, free: 8.77 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.01063, allocations: 0 / 0.8189 GB, free: 8.77 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.01063, allocations: 4 kB / 0.8189 GB, free: 8.766 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01064, allocations: 0.875 kB / 0.8189 GB, free: 8.766 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.01082, allocations: 192.5 kB / 0.819 GB, free: 8.543 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01082, allocations: 3.438 kB / 0.8191 GB, free: 8.543 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.588e-05/0.01087, allocations: 15.98 kB / 0.8191 GB, free: 8.527 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.01087, allocations: 0 / 0.8191 GB, free: 8.527 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.01088, allocations: 0 / 0.8191 GB, free: 8.527 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.01088, allocations: 0 / 0.8191 GB, free: 8.527 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01088, allocations: 4 kB / 0.8191 GB, free: 8.523 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.01108, allocations: 239.7 kB / 0.8193 GB, free: 8.27 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.031e-05/0.0111, allocations: 19.89 kB / 0.8193 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.01113, allocations: 4 kB / 0.8193 GB, free: 8.246 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.165e-05/0.01119, allocations: 16.61 kB / 0.8193 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.563e-05/0.01127, allocations: 24.45 kB / 0.8194 GB, free: 8.207 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/0.01128, allocations: 9.688 kB / 0.8194 GB, free: 8.199 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.997e-05/0.01138, allocations: 170.6 kB / 0.8195 GB, free: 8.035 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01138, allocations: 7.938 kB / 0.8195 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001868/0.01156, allocations: 35.89 kB / 0.8196 GB, free: 7.992 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 0.0001239/0.01169, allocations: 114.5 kB / 0.8197 GB, free: 7.871 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001725/0.01186, allocations: 61.19 kB / 0.8197 GB, free: 7.809 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01186, allocations: 0 / 0.8197 GB, free: 7.809 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.816e-05/0.01192, allocations: 43.59 kB / 0.8198 GB, free: 7.762 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.01214, allocations: 28.77 kB / 0.8198 GB, free: 7.734 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007031/0.01284, allocations: 329 kB / 0.8201 GB, free: 7.387 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.017e-05/0.01289, allocations: 79.77 kB / 0.8202 GB, free: 7.289 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.639e-05/0.01295, allocations: 20.03 kB / 0.8202 GB, free: 7.273 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.339e-05/0.013, allocations: 20.48 kB / 0.8202 GB, free: 7.254 MB / 0.7292 GB Notification: Performance of SimCode: time 6.42e-07/0.013, allocations: 0 / 0.8202 GB, free: 7.254 MB / 0.7292 GB Notification: Performance of Templates: time 0.004175/0.01718, allocations: 2.145 MB / 0.8223 GB, free: 5.18 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 -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: 5.39121467480436]