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.001067/0.001067, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001101/0.001101, allocations: 173 kB / 24.28 MB, free: 276 kB / 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.9493/0.9493, allocations: 177.1 MB / 204.6 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.817/1.817, allocations: 377.9 MB / 0.6239 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.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.293e-06/1.293e-06, allocations: 0 / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.228e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002369/0.002392, allocations: 2.088 MB / 0.8136 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.003583, allocations: 0.7891 MB / 0.8143 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.003718, allocations: 9.469 kB / 0.8143 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.003847, allocations: 31.61 kB / 0.8144 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.564e-05/0.003942, allocations: 52.39 kB / 0.8144 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004474/0.00439, allocations: 181.2 kB / 0.8146 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003269/0.004717, allocations: 407.1 kB / 0.815 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002645/0.004981, allocations: 213 kB / 0.8152 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.005212, allocations: 213.2 kB / 0.8154 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.005351, allocations: 111.7 kB / 0.8155 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.703e-05/0.005388, allocations: 36 kB / 0.8155 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.316e-05/0.005461, allocations: 48.44 kB / 0.8156 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.02e-05/0.005522, allocations: 87.72 kB / 0.8157 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.151e-05/0.005603, allocations: 104.3 kB / 0.8158 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.005882, allocations: 259.8 kB / 0.816 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.005885, allocations: 0 / 0.816 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.92e-07/0.005886, allocations: 1.156 kB / 0.816 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.005891, allocations: 0 / 0.816 GB, free: 13.48 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.0005986/0.00649, allocations: 0.6063 MB / 0.8166 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.006524, allocations: 12.03 kB / 0.8166 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002708/0.006795, allocations: 86.41 kB / 0.8167 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.00703, allocations: 216.1 kB / 0.8169 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.00706, allocations: 25.03 kB / 0.8169 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.436e-05/0.007094, allocations: 36.36 kB / 0.817 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003188/0.007413, allocations: 244.7 kB / 0.8172 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.007423, allocations: 2.969 kB / 0.8172 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.007446, allocations: 16.31 kB / 0.8172 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.007457, allocations: 11.94 kB / 0.8172 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001857/0.007643, allocations: 111.8 kB / 0.8173 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000841/0.008484, allocations: 0.8283 MB / 0.8181 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002531/0.008737, allocations: 177.2 kB / 0.8183 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.964e-05/0.008827, allocations: 60.12 kB / 0.8184 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.008844, allocations: 12.72 kB / 0.8184 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.008985, allocations: 113.7 kB / 0.8185 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=30): time 1.413e-06/0.008987, allocations: 0.5625 kB / 0.8185 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30): time 0.0003492/0.009336, allocations: 242.3 kB / 0.8187 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.009372, allocations: 60.78 kB / 0.8188 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.00951, allocations: 255.6 kB / 0.819 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.009535, allocations: 37.7 kB / 0.819 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.256e-05/0.009628, allocations: 214.1 kB / 0.8192 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/0.009672, allocations: 75.38 kB / 0.8193 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.601e-05/0.009758, allocations: 91.3 kB / 0.8194 GB, free: 9.785 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.009883, allocations: 0.504 MB / 0.8199 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.273e-05/0.009966, allocations: 43.97 kB / 0.8199 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.01008, allocations: 126.7 kB / 0.8201 GB, free: 9.078 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.01025, allocations: 161.5 kB / 0.8202 GB, free: 8.898 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.01026, allocations: 0 / 0.8202 GB, free: 8.898 MB / 0.7761 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002623/0.01052, allocations: 235.2 kB / 0.8204 GB, free: 8.664 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.01054, allocations: 14.64 kB / 0.8205 GB, free: 8.652 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.01054, allocations: 3.938 kB / 0.8205 GB, free: 8.648 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.01055, allocations: 4.844 kB / 0.8205 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.01067, allocations: 35.92 kB / 0.8205 GB, free: 8.609 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.01067, allocations: 2.219 kB / 0.8205 GB, free: 8.609 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.353e-05/0.01077, allocations: 47.75 kB / 0.8205 GB, free: 8.562 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.01078, allocations: 8 kB / 0.8206 GB, free: 8.555 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.0001089/0.01089, allocations: 197.5 kB / 0.8207 GB, free: 8.355 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.01092, allocations: 23.91 kB / 0.8208 GB, free: 8.332 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.018e-05/0.01096, allocations: 39.7 kB / 0.8208 GB, free: 8.293 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01096, allocations: 4 kB / 0.8208 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.01096, allocations: 0 / 0.8208 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01097, allocations: 1.062 kB / 0.8208 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005231/0.01149, allocations: 0.5884 MB / 0.8214 GB, free: 7.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.01149, allocations: 5.047 kB / 0.8214 GB, free: 7.656 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.772e-05/0.01156, allocations: 23.98 kB / 0.8214 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.01157, allocations: 4 kB / 0.8214 GB, free: 7.629 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.01158, allocations: 8.656 kB / 0.8214 GB, free: 7.621 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.01158, allocations: 0 / 0.8214 GB, free: 7.621 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.01158, allocations: 5.875 kB / 0.8214 GB, free: 7.617 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.01183, allocations: 344.7 kB / 0.8218 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.818e-05/0.01184, allocations: 23.8 kB / 0.8218 GB, free: 7.238 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.01186, allocations: 4 kB / 0.8218 GB, free: 7.234 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.487e-05/0.01194, allocations: 21.33 kB / 0.8218 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.233e-05/0.01201, allocations: 31.94 kB / 0.8218 GB, free: 7.184 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.01202, allocations: 11.94 kB / 0.8218 GB, free: 7.172 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.392e-05/0.01209, allocations: 166.2 kB / 0.822 GB, free: 7.012 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01209, allocations: 0 / 0.822 GB, free: 7.012 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001957/0.01228, allocations: 63.89 kB / 0.8221 GB, free: 6.949 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 9.141e-05/0.01237, allocations: 114.5 kB / 0.8222 GB, free: 6.832 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002408/0.01261, allocations: 167.2 kB / 0.8223 GB, free: 6.668 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.01262, allocations: 0 / 0.8223 GB, free: 6.668 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.01273, allocations: 100 kB / 0.8224 GB, free: 6.566 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.01296, allocations: 39.67 kB / 0.8225 GB, free: 6.527 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006832/0.01364, allocations: 443.5 kB / 0.8229 GB, free: 6.07 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.488e-05/0.0137, allocations: 88.31 kB / 0.823 GB, free: 5.965 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.028e-05/0.01377, allocations: 32.98 kB / 0.823 GB, free: 5.938 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.856e-05/0.01383, allocations: 20.5 kB / 0.823 GB, free: 5.918 MB / 0.7761 GB Notification: Performance of SimCode: time 7.01e-07/0.01383, allocations: 1.5 kB / 0.823 GB, free: 5.918 MB / 0.7761 GB Notification: Performance of Templates: time 0.004517/0.01835, allocations: 2.901 MB / 0.8259 GB, free: 3.074 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.004393628099933]