Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.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.001364/0.001364, allocations: 87.58 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.00154/0.00154, allocations: 165 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.8871/0.8871, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.739/1.739, allocations: 377.8 MB / 0.6236 GB, free: 8.516 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.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.4e-05/3.639e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003621/0.003657, allocations: 2.103 MB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.005087, allocations: 0.7728 MB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.005241, allocations: 9.188 kB / 0.8143 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001723/0.005413, allocations: 43.53 kB / 0.8144 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.005546, allocations: 45.12 kB / 0.8144 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005789/0.006125, allocations: 179.6 kB / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004662/0.006591, allocations: 411.1 kB / 0.815 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003714/0.006962, allocations: 207 kB / 0.8152 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003834/0.007345, allocations: 215.6 kB / 0.8154 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.007567, allocations: 116.3 kB / 0.8155 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.663e-05/0.007624, allocations: 40 kB / 0.8155 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.00773, allocations: 44.47 kB / 0.8156 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.527e-05/0.007815, allocations: 83.73 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.007935, allocations: 109.3 kB / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003998/0.008335, allocations: 259.1 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.008338, allocations: 0 / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.292e-06/0.00834, allocations: 4 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.008345, allocations: 0.6562 kB / 0.816 GB, free: 13.14 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0008236/0.009169, allocations: 0.5983 MB / 0.8166 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.00921, allocations: 15.97 kB / 0.8166 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004084/0.009619, allocations: 89.81 kB / 0.8167 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.009944, allocations: 213.6 kB / 0.8169 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.082e-05/0.009985, allocations: 29.03 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.319e-05/0.01003, allocations: 28.38 kB / 0.817 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004919/0.01052, allocations: 253.7 kB / 0.8172 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.01053, allocations: 4.172 kB / 0.8172 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.037e-05/0.01056, allocations: 12.38 kB / 0.8172 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.01058, allocations: 11.94 kB / 0.8172 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002894/0.01087, allocations: 103.9 kB / 0.8173 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.01206, allocations: 0.8325 MB / 0.8181 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.01242, allocations: 164.7 kB / 0.8183 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.01257, allocations: 68.97 kB / 0.8184 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.01259, allocations: 4.234 kB / 0.8184 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/0.01281, allocations: 119 kB / 0.8185 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=30): time 2.965e-06/0.01281, allocations: 0 / 0.8185 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30): time 0.0005066/0.01331, allocations: 234.4 kB / 0.8187 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.01336, allocations: 63.41 kB / 0.8188 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.01356, allocations: 255.7 kB / 0.819 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.01359, allocations: 38.45 kB / 0.819 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.01371, allocations: 203.5 kB / 0.8192 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.281e-05/0.01379, allocations: 81.75 kB / 0.8193 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.01392, allocations: 95.22 kB / 0.8194 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.01409, allocations: 0.504 MB / 0.8199 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.01421, allocations: 47.97 kB / 0.8199 GB, free: 8.898 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.01437, allocations: 118.7 kB / 0.8201 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.01462, allocations: 159.7 kB / 0.8202 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.01462, allocations: 0 / 0.8202 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004247/0.01504, allocations: 237 kB / 0.8204 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.01506, allocations: 8 kB / 0.8204 GB, free: 8.336 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.01507, allocations: 7.922 kB / 0.8205 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.01509, allocations: 4 kB / 0.8205 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.01529, allocations: 48.5 kB / 0.8205 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.0153, allocations: 11.64 kB / 0.8205 GB, free: 8.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.01544, allocations: 35.77 kB / 0.8206 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.01547, allocations: 12 kB / 0.8206 GB, free: 8.223 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,heaCon.stateGraphRoot.activeSteps,heaCon.onToOff.t_start,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.fire,heaCon.onToOff.enableFire,heaCon.onToOff.localCondition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.localCondition,heaCon.on.active,heaCon.on.oldActive,$PRE.heaCon.on.oldActive,heaCon.on.newActive,$PRE.heaCon.on.newActive,heaCon.on.localActive,$PRE.heaCon.on.localActive,heaCon.off.active,heaCon.off.oldActive,$PRE.heaCon.off.oldActive,heaCon.off.newActive,$PRE.heaCon.off.newActive,heaCon.off.localActive,$PRE.heaCon.off.localActive,$whenCondition1,$whenCondition2,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001527/0.01562, allocations: 188.5 kB / 0.8207 GB, free: 8.031 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.329e-05/0.01567, allocations: 31.89 kB / 0.8208 GB, free: 8 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.516e-05/0.01573, allocations: 30.59 kB / 0.8208 GB, free: 7.969 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.01573, allocations: 0 / 0.8208 GB, free: 7.969 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.01574, allocations: 2.031 kB / 0.8208 GB, free: 7.969 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.01575, allocations: 11.98 kB / 0.8208 GB, free: 7.957 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008178/0.01656, allocations: 0.5884 MB / 0.8214 GB, free: 7.328 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.01657, allocations: 0 / 0.8214 GB, free: 7.328 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.01669, allocations: 24.86 kB / 0.8214 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.01669, allocations: 4 kB / 0.8214 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.01671, allocations: 4 kB / 0.8214 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.01672, allocations: 5.125 kB / 0.8214 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.01672, allocations: 0 / 0.8214 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003757/0.01709, allocations: 344.7 kB / 0.8218 GB, free: 6.938 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.655e-05/0.01714, allocations: 28.92 kB / 0.8218 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.01718, allocations: 7.984 kB / 0.8218 GB, free: 6.902 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.0173, allocations: 28.94 kB / 0.8218 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.0174, allocations: 31.95 kB / 0.8218 GB, free: 6.844 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.01742, allocations: 8.859 kB / 0.8219 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.739e-05/0.01752, allocations: 165.1 kB / 0.822 GB, free: 6.676 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.01752, allocations: 0 / 0.822 GB, free: 6.676 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003601/0.01788, allocations: 61.36 kB / 0.8221 GB, free: 6.617 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: 19 (heaCon.onToOff.enableFire,heaCon.offToOn.enableFire,heaCon.on.active,heaCon.off.active,$whenCondition2,$whenCondition1,heaCon.off.localActive,heaCon.off.newActive,heaCon.off.oldActive,heaCon.on.localActive,heaCon.on.newActive,heaCon.on.oldActive,heaCon.offToOn.localCondition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.localCondition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001332/0.01801, allocations: 115 kB / 0.8222 GB, free: 6.5 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003889/0.0184, allocations: 164.4 kB / 0.8223 GB, free: 6.336 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.0184, allocations: 0 / 0.8223 GB, free: 6.336 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.01856, allocations: 93.36 kB / 0.8224 GB, free: 6.242 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.01895, allocations: 46.44 kB / 0.8225 GB, free: 6.199 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.01995, allocations: 444.4 kB / 0.8229 GB, free: 5.742 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.084e-05/0.02002, allocations: 92.25 kB / 0.823 GB, free: 5.633 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001032/0.02013, allocations: 28.12 kB / 0.823 GB, free: 5.609 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.959e-05/0.02022, allocations: 25.03 kB / 0.823 GB, free: 5.586 MB / 0.7761 GB Notification: Performance of SimCode: time 1.052e-06/0.02022, allocations: 4 kB / 0.823 GB, free: 5.582 MB / 0.7761 GB Notification: Performance of Templates: time 0.007103/0.02732, allocations: 3.035 MB / 0.826 GB, free: 2.598 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.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.743796654976904]