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.0009359/0.0009359, allocations: 87.58 kB / 20.45 MB, free: 4.109 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.0009693/0.0009693, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9339/0.9339, allocations: 177.1 MB / 204.2 MB, free: 5.578 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.846/1.846, allocations: 377.8 MB / 0.6236 GB, free: 8.574 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 1.653e-06/1.653e-06, allocations: 0 / 0.8115 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.63e-05, allocations: 4.844 kB / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.00261/0.002636, allocations: 2.105 MB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.00406, allocations: 0.7819 MB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.004229, allocations: 7.938 kB / 0.8143 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001602/0.004389, allocations: 34.02 kB / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.004515, allocations: 51.52 kB / 0.8144 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005628/0.005077, allocations: 179.6 kB / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005007/0.005578, allocations: 412 kB / 0.815 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003907/0.005969, allocations: 205.6 kB / 0.8152 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003321/0.006301, allocations: 220.8 kB / 0.8154 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.006491, allocations: 107.7 kB / 0.8155 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.385e-05/0.006545, allocations: 40 kB / 0.8155 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.006646, allocations: 49.86 kB / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.288e-05/0.006729, allocations: 83.73 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.006842, allocations: 103.7 kB / 0.8158 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003721/0.007214, allocations: 263 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.007217, allocations: 0 / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.052e-06/0.007219, allocations: 1.688 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.007224, allocations: 0 / 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.0008066/0.008031, allocations: 0.605 MB / 0.8166 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.00807, allocations: 8.938 kB / 0.8166 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003773/0.008447, allocations: 85.19 kB / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/0.008769, allocations: 216.7 kB / 0.8169 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.318e-05/0.008812, allocations: 33.55 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.485e-05/0.008857, allocations: 29.56 kB / 0.817 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004625/0.00932, allocations: 244 kB / 0.8172 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.009334, allocations: 4.188 kB / 0.8172 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.799e-05/0.009362, allocations: 8.906 kB / 0.8172 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.009376, allocations: 13.31 kB / 0.8172 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003068/0.009683, allocations: 115.8 kB / 0.8173 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.01093, allocations: 0.8358 MB / 0.8181 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003494/0.01128, allocations: 157 kB / 0.8183 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.01142, allocations: 72.11 kB / 0.8184 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.01144, allocations: 5.078 kB / 0.8184 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.01164, allocations: 121.2 kB / 0.8185 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=30): time 2.024e-06/0.01164, allocations: 0.8438 kB / 0.8185 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30): time 0.00057/0.01221, allocations: 234.4 kB / 0.8187 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.01226, allocations: 60.62 kB / 0.8188 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.01244, allocations: 251.7 kB / 0.819 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.01248, allocations: 45.69 kB / 0.8191 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.01259, allocations: 203.5 kB / 0.8192 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.519e-05/0.01266, allocations: 80.22 kB / 0.8193 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.01279, allocations: 95.28 kB / 0.8194 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.01293, allocations: 0.5011 MB / 0.8199 GB, free: 8.949 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.01306, allocations: 51.95 kB / 0.82 GB, free: 8.898 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.01322, allocations: 122.7 kB / 0.8201 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.01346, allocations: 148.6 kB / 0.8202 GB, free: 8.586 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.01347, allocations: 4 kB / 0.8202 GB, free: 8.582 MB / 0.7761 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005411/0.01401, allocations: 245.5 kB / 0.8205 GB, free: 8.34 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.01403, allocations: 4 kB / 0.8205 GB, free: 8.336 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.01404, allocations: 7.938 kB / 0.8205 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.01405, allocations: 4 kB / 0.8205 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.01423, allocations: 35.92 kB / 0.8205 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.01423, allocations: 4 kB / 0.8205 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.01436, allocations: 45.59 kB / 0.8205 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.01438, allocations: 12 kB / 0.8206 GB, free: 8.23 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.0001384/0.01452, allocations: 189.5 kB / 0.8207 GB, free: 8.039 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.164e-05/0.01456, allocations: 27.91 kB / 0.8208 GB, free: 8.012 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.627e-05/0.01463, allocations: 39.11 kB / 0.8208 GB, free: 7.973 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.01463, allocations: 4.656 kB / 0.8208 GB, free: 7.969 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.872e-06/0.01464, allocations: 0 / 0.8208 GB, free: 7.969 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.01464, allocations: 2.688 kB / 0.8208 GB, free: 7.969 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007555/0.0154, allocations: 0.5923 MB / 0.8214 GB, free: 7.336 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.0154, allocations: 0 / 0.8214 GB, free: 7.336 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.01551, allocations: 27.92 kB / 0.8214 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.01551, allocations: 0 / 0.8214 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.01553, allocations: 4 kB / 0.8214 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01553, allocations: 4 kB / 0.8214 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01553, allocations: 2.75 kB / 0.8214 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003643/0.0159, allocations: 348.6 kB / 0.8218 GB, free: 6.941 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.464e-05/0.01592, allocations: 27.8 kB / 0.8218 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.01595, allocations: 8 kB / 0.8218 GB, free: 6.906 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.01608, allocations: 15.98 kB / 0.8218 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.699e-05/0.01618, allocations: 35.94 kB / 0.8218 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.0162, allocations: 8.922 kB / 0.8219 GB, free: 6.848 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.443e-05/0.01629, allocations: 161.1 kB / 0.822 GB, free: 6.691 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.01629, allocations: 1.125 kB / 0.822 GB, free: 6.691 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003516/0.01664, allocations: 63.89 kB / 0.8221 GB, free: 6.629 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.0001352/0.01678, allocations: 118.3 kB / 0.8222 GB, free: 6.508 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003471/0.01713, allocations: 169.4 kB / 0.8223 GB, free: 6.34 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01713, allocations: 0 / 0.8223 GB, free: 6.34 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.01729, allocations: 93.23 kB / 0.8224 GB, free: 6.246 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.01768, allocations: 50.75 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.0009062/0.01858, allocations: 452.8 kB / 0.8229 GB, free: 5.734 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.147e-05/0.01864, allocations: 84.31 kB / 0.823 GB, free: 5.633 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.957e-05/0.01871, allocations: 30.98 kB / 0.823 GB, free: 5.605 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.376e-05/0.01877, allocations: 26.16 kB / 0.823 GB, free: 5.582 MB / 0.7761 GB Notification: Performance of SimCode: time 6.02e-07/0.01877, allocations: 0 / 0.823 GB, free: 5.582 MB / 0.7761 GB Notification: Performance of Templates: time 0.005342/0.02411, allocations: 2.884 MB / 0.8259 GB, free: 2.75 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: 5.026308384723961]