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.0009365/0.0009365, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.0009275/0.0009275, 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.8635/0.8635, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.755/1.755, allocations: 377.8 MB / 0.6236 GB, free: 8.562 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.042e-06/1.042e-06, allocations: 0 / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.162e-05/1.266e-05, allocations: 4.703 kB / 0.8116 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002111/0.002124, allocations: 2.095 MB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.000868/0.002992, allocations: 0.6332 MB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.246e-05/0.003085, allocations: 7.938 kB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.003194, allocations: 20.73 kB / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.602e-05/0.00326, allocations: 48.41 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.003561, allocations: 101.1 kB / 0.8144 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.003776, allocations: 232 kB / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.003962, allocations: 80.03 kB / 0.8147 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002248/0.004187, allocations: 144.1 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.841e-05/0.004285, allocations: 71.77 kB / 0.8149 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.004314, allocations: 25.94 kB / 0.8149 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.407e-05/0.004388, allocations: 27.94 kB / 0.8149 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.774e-05/0.004445, allocations: 55.77 kB / 0.815 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.914e-05/0.004504, allocations: 67.83 kB / 0.8151 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.004746, allocations: 171.3 kB / 0.8152 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.004748, allocations: 1.688 kB / 0.8152 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.81e-07/0.004749, allocations: 0 / 0.8152 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.004754, allocations: 0 / 0.8152 GB, free: 13.95 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.0006078/0.005362, allocations: 0.5355 MB / 0.8157 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.005397, allocations: 8.031 kB / 0.8158 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002334/0.005631, allocations: 61.25 kB / 0.8158 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.005851, allocations: 205.4 kB / 0.816 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.005866, allocations: 12.91 kB / 0.816 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.005888, allocations: 20.38 kB / 0.816 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.006153, allocations: 275.5 kB / 0.8163 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.006161, allocations: 4.188 kB / 0.8163 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.006176, allocations: 4.375 kB / 0.8163 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.006186, allocations: 8.469 kB / 0.8163 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.006292, allocations: 65.27 kB / 0.8164 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005605/0.006853, allocations: 0.496 MB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.00702, allocations: 80.06 kB / 0.8169 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.746e-05/0.007068, allocations: 31.67 kB / 0.817 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.007081, allocations: 1.281 kB / 0.817 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.007103, allocations: 37.39 kB / 0.817 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.007104, allocations: 0 / 0.817 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10): time 0.000204/0.007308, allocations: 114.5 kB / 0.8171 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002952/0.007604, allocations: 128.5 kB / 0.8172 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.007735, allocations: 245.8 kB / 0.8175 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.007753, allocations: 34.86 kB / 0.8175 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.917e-05/0.007832, allocations: 199 kB / 0.8177 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.007851, allocations: 27.78 kB / 0.8177 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.565e-05/0.007897, allocations: 44.73 kB / 0.8178 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.008003, allocations: 0.4961 MB / 0.8183 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.722e-05/0.00804, allocations: 19.98 kB / 0.8183 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.548e-05/0.008116, allocations: 149 kB / 0.8184 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.948e-05/0.008185, allocations: 55.34 kB / 0.8185 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.008187, allocations: 0 / 0.8185 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001224/0.008309, allocations: 112.3 kB / 0.8186 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.008321, allocations: 10.64 kB / 0.8186 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.008326, allocations: 0 / 0.8186 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.008339, allocations: 4 kB / 0.8186 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.432e-05/0.008393, allocations: 12 kB / 0.8186 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.008398, allocations: 0 / 0.8186 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.174e-05/0.008439, allocations: 15.98 kB / 0.8186 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.008446, allocations: 0.5469 kB / 0.8186 GB, free: 10.19 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.983e-05/0.008526, allocations: 181.5 kB / 0.8188 GB, free: 10 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.00855, allocations: 15.91 kB / 0.8188 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.598e-05/0.008576, allocations: 22.77 kB / 0.8188 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.008579, allocations: 4 kB / 0.8188 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.008582, allocations: 0 / 0.8188 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.008585, allocations: 0.875 kB / 0.8188 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.008734, allocations: 196.4 kB / 0.819 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.008735, allocations: 0 / 0.819 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.555e-05/0.00877, allocations: 17.33 kB / 0.819 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.008771, allocations: 0 / 0.819 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.008779, allocations: 0 / 0.819 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.008781, allocations: 4.906 kB / 0.819 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.008782, allocations: 3.938 kB / 0.819 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.008918, allocations: 235.8 kB / 0.8193 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.539e-05/0.008933, allocations: 20.47 kB / 0.8193 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.008954, allocations: 8.641 kB / 0.8193 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.954e-05/0.009033, allocations: 8 kB / 0.8193 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/0.009103, allocations: 26.73 kB / 0.8193 GB, free: 9.406 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.009113, allocations: 11.92 kB / 0.8193 GB, free: 9.395 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.656e-05/0.009199, allocations: 170.3 kB / 0.8195 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.1e-08/0.009199, allocations: 0 / 0.8195 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001715/0.009371, allocations: 35.89 kB / 0.8195 GB, free: 9.195 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 7.422e-05/0.009445, allocations: 117.9 kB / 0.8196 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001348/0.00958, allocations: 61.59 kB / 0.8197 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.009581, allocations: 0 / 0.8197 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.147e-05/0.009633, allocations: 39.61 kB / 0.8197 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.009829, allocations: 31.92 kB / 0.8198 GB, free: 8.938 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006158/0.01045, allocations: 324.8 kB / 0.8201 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.169e-05/0.01049, allocations: 83.62 kB / 0.8202 GB, free: 8.488 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.934e-05/0.01054, allocations: 17.23 kB / 0.8202 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.01058, allocations: 16.5 kB / 0.8202 GB, free: 8.461 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.01058, allocations: 0 / 0.8202 GB, free: 8.461 MB / 0.7761 GB Notification: Performance of Templates: time 0.003644/0.01423, allocations: 2.134 MB / 0.8223 GB, free: 6.383 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.563309857156128]