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.0009006/0.0009006, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009646/0.0009646, allocations: 161 kB / 24.17 MB, free: 328 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.993/0.993, allocations: 177.1 MB / 204.6 MB, free: 5.004 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.893/1.893, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.353e-06/1.353e-06, allocations: 0 / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.112e-05/1.247e-05, allocations: 3.297 kB / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002528/0.002541, allocations: 2.129 MB / 0.7621 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.003613, allocations: 0.7871 MB / 0.7629 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.003718, allocations: 7.938 kB / 0.7629 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.003842, allocations: 36.8 kB / 0.7629 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.003943, allocations: 56.12 kB / 0.763 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003895/0.004332, allocations: 180.7 kB / 0.7631 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003079/0.00464, allocations: 403.1 kB / 0.7635 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002445/0.004885, allocations: 212.6 kB / 0.7637 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.005089, allocations: 208.3 kB / 0.7639 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.005224, allocations: 111.7 kB / 0.764 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.408e-05/0.005258, allocations: 40.75 kB / 0.7641 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.721e-05/0.005335, allocations: 47.94 kB / 0.7641 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.815e-05/0.005394, allocations: 80.52 kB / 0.7642 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.107e-05/0.005465, allocations: 111.7 kB / 0.7643 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.005708, allocations: 264.5 kB / 0.7646 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.00571, allocations: 0 / 0.7646 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.81e-07/0.00571, allocations: 0 / 0.7646 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.005714, allocations: 0 / 0.7646 GB, free: 2.004 MB / 0.7136 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.0005015/0.006216, allocations: 493 kB / 0.765 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.006245, allocations: 9.281 kB / 0.765 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002391/0.006484, allocations: 76.86 kB / 0.7651 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.006679, allocations: 182.5 kB / 0.7653 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.006706, allocations: 25.03 kB / 0.7653 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.006731, allocations: 28.38 kB / 0.7653 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.006971, allocations: 238.8 kB / 0.7656 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.006982, allocations: 3.031 kB / 0.7656 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.006998, allocations: 12.38 kB / 0.7656 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.007008, allocations: 11.94 kB / 0.7656 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.007112, allocations: 68.56 kB / 0.7657 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000627/0.007739, allocations: 0.5822 MB / 0.7662 GB, free: 228 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.007908, allocations: 126.5 kB / 0.7663 GB, free: 96 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.358e-05/0.007962, allocations: 57.27 kB / 0.7664 GB, free: 36 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.00798, allocations: 4.234 kB / 0.7664 GB, free: 32 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001176/0.008097, allocations: 111.5 kB / 0.7665 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=30): time 1.643e-06/0.008099, allocations: 0 / 0.7665 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30): time 0.0001965/0.008295, allocations: 159.5 kB / 0.7667 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.008327, allocations: 59.34 kB / 0.7667 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.726e-05/0.008424, allocations: 195.9 kB / 0.7669 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.008446, allocations: 37.7 kB / 0.7669 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.235e-05/0.008509, allocations: 149.4 kB / 0.7671 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.008549, allocations: 79.34 kB / 0.7672 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.032e-05/0.00862, allocations: 87.44 kB / 0.7672 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.742e-05/0.008697, allocations: 338.8 kB / 0.7676 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.059e-05/0.008738, allocations: 27.98 kB / 0.7676 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.266e-05/0.00881, allocations: 97.7 kB / 0.7677 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.008927, allocations: 125 kB / 0.7678 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.008929, allocations: 3.938 kB / 0.7678 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0001663/0.009096, allocations: 171.4 kB / 0.768 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.009106, allocations: 8 kB / 0.768 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.00911, allocations: 0 / 0.768 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.009123, allocations: 4 kB / 0.768 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.009252, allocations: 51.84 kB / 0.768 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.009257, allocations: 5.031 kB / 0.768 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.053e-05/0.009328, allocations: 39.7 kB / 0.7681 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.009345, allocations: 16.92 kB / 0.7681 GB, free: 14.2 MB / 0.7292 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 8.945e-05/0.009435, allocations: 147.9 kB / 0.7682 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.009e-05/0.009455, allocations: 15.98 kB / 0.7682 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.492e-05/0.00949, allocations: 34.64 kB / 0.7683 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.009493, allocations: 4 kB / 0.7683 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.009496, allocations: 6.375 kB / 0.7683 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.0095, allocations: 0 / 0.7683 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003822/0.009882, allocations: 400.4 kB / 0.7687 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.009884, allocations: 3.938 kB / 0.7687 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.179e-05/0.009956, allocations: 23.98 kB / 0.7687 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.009959, allocations: 7.938 kB / 0.7687 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.009969, allocations: 5.656 kB / 0.7687 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.009971, allocations: 0 / 0.7687 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.009973, allocations: 4 kB / 0.7687 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.01026, allocations: 232.6 kB / 0.7689 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.615e-05/0.01028, allocations: 23.8 kB / 0.769 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.0103, allocations: 9.594 kB / 0.769 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.952e-05/0.01037, allocations: 23.97 kB / 0.769 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.22e-05/0.01043, allocations: 31.94 kB / 0.769 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.01044, allocations: 5.031 kB / 0.769 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.355e-05/0.01047, allocations: 51.28 kB / 0.7691 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01047, allocations: 0 / 0.7691 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001652/0.01064, allocations: 60.55 kB / 0.7691 GB, free: 13.09 MB / 0.7292 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 8.239e-05/0.01072, allocations: 101.4 kB / 0.7692 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001597/0.01088, allocations: 137.6 kB / 0.7694 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.01088, allocations: 8 kB / 0.7694 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.698e-05/0.01096, allocations: 73.38 kB / 0.7694 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.01113, allocations: 38.08 kB / 0.7695 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005721/0.0117, allocations: 437.2 kB / 0.7699 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.042e-05/0.01175, allocations: 84.33 kB / 0.77 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.173e-05/0.01183, allocations: 28.69 kB / 0.77 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.01193, allocations: 92.89 kB / 0.7701 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of SimCode: time 4e-07/0.01193, allocations: 0 / 0.7701 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of Templates: time 0.004564/0.0165, allocations: 3.041 MB / 0.7731 GB, free: 9.184 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -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.92683672439307]