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.0009218/0.0009218, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009299/0.0009299, allocations: 181 kB / 24.09 MB, free: 420 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.9657/0.9657, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.881/1.881, allocations: 377.9 MB / 0.624 GB, free: 8.414 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.824e-06/1.824e-06, allocations: 0 / 0.812 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.315e-05, allocations: 7.297 kB / 0.812 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002555/0.002578, allocations: 2.064 MB / 0.814 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.003711, allocations: 0.7725 MB / 0.8148 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.003847, allocations: 9.531 kB / 0.8148 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.003982, allocations: 39.55 kB / 0.8148 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.341e-05/0.004075, allocations: 44.33 kB / 0.8149 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004822/0.004557, allocations: 184.1 kB / 0.815 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004959/0.005053, allocations: 411.1 kB / 0.8154 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002839/0.005337, allocations: 211.1 kB / 0.8156 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002545/0.005592, allocations: 207.6 kB / 0.8158 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.005744, allocations: 115.6 kB / 0.8159 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.65e-05/0.005781, allocations: 40.53 kB / 0.816 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.805e-05/0.005859, allocations: 49.3 kB / 0.816 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.17e-05/0.005921, allocations: 83.73 kB / 0.8161 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.628e-05/0.005997, allocations: 99.75 kB / 0.8162 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.006289, allocations: 267 kB / 0.8164 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.006293, allocations: 1.156 kB / 0.8164 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.32e-07/0.006294, allocations: 0 / 0.8164 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.006298, allocations: 0 / 0.8164 GB, free: 12.92 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.0005869/0.006885, allocations: 0.6062 MB / 0.817 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.006926, allocations: 9.281 kB / 0.817 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002818/0.007208, allocations: 92.53 kB / 0.8171 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.007438, allocations: 212.9 kB / 0.8173 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.94e-05/0.007467, allocations: 34.23 kB / 0.8174 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.007495, allocations: 32.38 kB / 0.8174 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.007777, allocations: 231.9 kB / 0.8176 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.007788, allocations: 1.5 kB / 0.8176 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.007806, allocations: 12.38 kB / 0.8176 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.007816, allocations: 11.92 kB / 0.8176 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.00793, allocations: 80.52 kB / 0.8177 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000821/0.008751, allocations: 0.8017 MB / 0.8185 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.008957, allocations: 157.2 kB / 0.8187 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.853e-05/0.009015, allocations: 56.06 kB / 0.8187 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.009037, allocations: 4.234 kB / 0.8187 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000126/0.009163, allocations: 121.1 kB / 0.8188 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=30): time 2.104e-06/0.009165, allocations: 0 / 0.8188 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30): time 0.0002945/0.00946, allocations: 214.9 kB / 0.819 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.009494, allocations: 55.41 kB / 0.8191 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.009622, allocations: 255.6 kB / 0.8193 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.009648, allocations: 39.64 kB / 0.8194 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.593e-05/0.009743, allocations: 203.5 kB / 0.8196 GB, free: 9.543 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.543e-05/0.009789, allocations: 79.34 kB / 0.8196 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.902e-05/0.009878, allocations: 95.23 kB / 0.8197 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.01, allocations: 0.504 MB / 0.8202 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.269e-05/0.01005, allocations: 37.81 kB / 0.8203 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.516e-05/0.01014, allocations: 114.6 kB / 0.8204 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.01028, allocations: 148.2 kB / 0.8205 GB, free: 8.508 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01029, allocations: 0.7812 kB / 0.8205 GB, free: 8.508 MB / 0.7761 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002264/0.01051, allocations: 214.2 kB / 0.8207 GB, free: 8.293 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.01053, allocations: 7.938 kB / 0.8207 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.01054, allocations: 4.844 kB / 0.8207 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.01055, allocations: 3.938 kB / 0.8207 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.01067, allocations: 46.94 kB / 0.8208 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.01067, allocations: 7.938 kB / 0.8208 GB, free: 8.227 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.065e-05/0.01075, allocations: 43.77 kB / 0.8208 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.01076, allocations: 4 kB / 0.8208 GB, free: 8.18 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.suspend,heaCon.stateGraphRoot.resume) * 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.0001126/0.01088, allocations: 184.5 kB / 0.821 GB, free: 7.992 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.4e-05/0.01091, allocations: 34.39 kB / 0.821 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.284e-05/0.01095, allocations: 26.66 kB / 0.8211 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.01096, allocations: 7.938 kB / 0.8211 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.01096, allocations: 0 / 0.8211 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.01097, allocations: 3.984 kB / 0.8211 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005114/0.01148, allocations: 0.5343 MB / 0.8216 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.01148, allocations: 0.9375 kB / 0.8216 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.124e-05/0.01155, allocations: 27.92 kB / 0.8216 GB, free: 7.328 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.01156, allocations: 9.062 kB / 0.8216 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.01157, allocations: 7.984 kB / 0.8216 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.01157, allocations: 4 kB / 0.8216 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.01157, allocations: 9.109 kB / 0.8216 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.01179, allocations: 320.7 kB / 0.822 GB, free: 6.969 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.151e-05/0.01181, allocations: 27.73 kB / 0.822 GB, free: 6.941 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.01183, allocations: 5.031 kB / 0.822 GB, free: 6.938 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.262e-05/0.0119, allocations: 23.97 kB / 0.822 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.897e-05/0.01197, allocations: 33 kB / 0.822 GB, free: 6.883 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.01198, allocations: 4 kB / 0.822 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.331e-05/0.01205, allocations: 173.5 kB / 0.8222 GB, free: 6.711 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01205, allocations: 1.656 kB / 0.8222 GB, free: 6.711 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002147/0.01226, allocations: 59.89 kB / 0.8223 GB, free: 6.652 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.0001172/0.01238, allocations: 113.7 kB / 0.8224 GB, free: 6.535 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001998/0.01258, allocations: 144.9 kB / 0.8225 GB, free: 6.391 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01258, allocations: 0 / 0.8225 GB, free: 6.391 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.279e-05/0.01267, allocations: 84.8 kB / 0.8226 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.01292, allocations: 43.3 kB / 0.8226 GB, free: 6.266 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000811/0.01373, allocations: 447.5 kB / 0.8231 GB, free: 5.805 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.976e-05/0.01379, allocations: 80.33 kB / 0.8231 GB, free: 5.703 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.619e-05/0.01388, allocations: 32.62 kB / 0.8232 GB, free: 5.676 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.01402, allocations: 116.7 kB / 0.8233 GB, free: 5.562 MB / 0.7761 GB Notification: Performance of SimCode: time 2.104e-06/0.01402, allocations: 0 / 0.8233 GB, free: 5.562 MB / 0.7761 GB Notification: Performance of Templates: time 0.006209/0.02023, allocations: 3.144 MB / 0.8264 GB, free: 2.48 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.982165344059467]