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.000893/0.000893, 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.000915/0.000915, allocations: 161 kB / 24.17 MB, free: 332 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.8965/0.8965, allocations: 177.2 MB / 204.6 MB, free: 5.484 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.817/1.817, allocations: 377.9 MB / 0.624 GB, free: 8.34 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.313e-06/1.313e-06, allocations: 0 / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.381e-05/1.512e-05, allocations: 6.453 kB / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002256/0.002271, allocations: 2.074 MB / 0.762 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.003286, allocations: 0.7971 MB / 0.7628 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.003396, allocations: 7.938 kB / 0.7628 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.003524, allocations: 39.12 kB / 0.7629 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.373e-05/0.003618, allocations: 45.72 kB / 0.7629 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003789/0.003997, allocations: 180.5 kB / 0.7631 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000312/0.004309, allocations: 413.1 kB / 0.7635 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002384/0.004547, allocations: 215.2 kB / 0.7637 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/0.004757, allocations: 208.3 kB / 0.7639 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.004887, allocations: 115.6 kB / 0.764 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.663e-05/0.004923, allocations: 40.75 kB / 0.764 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.765e-05/0.004991, allocations: 43.94 kB / 0.7641 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.847e-05/0.005049, allocations: 88.56 kB / 0.7641 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.23e-05/0.005122, allocations: 103.7 kB / 0.7642 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.005383, allocations: 265.3 kB / 0.7645 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.005385, allocations: 3.938 kB / 0.7645 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.71e-07/0.005386, allocations: 0 / 0.7645 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.207e-06/0.00539, allocations: 0 / 0.7645 GB, free: 2.078 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.000508/0.005898, allocations: 493.2 kB / 0.765 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.005926, allocations: 8.031 kB / 0.765 GB, free: 1.566 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002301/0.006157, allocations: 76.86 kB / 0.765 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.006348, allocations: 178.6 kB / 0.7652 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.006376, allocations: 25.03 kB / 0.7652 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.58e-05/0.006412, allocations: 37.56 kB / 0.7653 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.006649, allocations: 222.3 kB / 0.7655 GB, free: 1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.006659, allocations: 192 / 0.7655 GB, free: 1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.006675, allocations: 15.41 kB / 0.7655 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.006684, allocations: 11.94 kB / 0.7655 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.006788, allocations: 76.55 kB / 0.7656 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006255/0.007413, allocations: 0.5753 MB / 0.7662 GB, free: 312 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.007581, allocations: 133.9 kB / 0.7663 GB, free: 172 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.305e-05/0.007634, allocations: 53.23 kB / 0.7663 GB, free: 116 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.00765, allocations: 4.234 kB / 0.7663 GB, free: 112 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000116/0.007766, allocations: 115.5 kB / 0.7664 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=30): time 1.292e-06/0.007767, allocations: 0 / 0.7664 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30): time 0.0001961/0.007964, allocations: 158 kB / 0.7666 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.007997, allocations: 59.34 kB / 0.7667 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.566e-05/0.008093, allocations: 192.5 kB / 0.7668 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.008116, allocations: 38.95 kB / 0.7669 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.277e-05/0.008179, allocations: 152.7 kB / 0.767 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.106e-05/0.00822, allocations: 83.34 kB / 0.7671 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.761e-05/0.008288, allocations: 77.62 kB / 0.7672 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.25e-05/0.00837, allocations: 339.4 kB / 0.7675 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.035e-05/0.00841, allocations: 28.64 kB / 0.7675 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.373e-05/0.008484, allocations: 93.72 kB / 0.7676 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.008597, allocations: 133.7 kB / 0.7677 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.008599, allocations: 0 / 0.7677 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0001597/0.008758, allocations: 176.1 kB / 0.7679 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/0.008768, allocations: 7.938 kB / 0.7679 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.008773, allocations: 0 / 0.7679 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.008785, allocations: 4 kB / 0.7679 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.008888, allocations: 47.84 kB / 0.768 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.008892, allocations: 4 kB / 0.768 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.237e-05/0.008964, allocations: 39.77 kB / 0.768 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.008975, allocations: 9.812 kB / 0.768 GB, free: 14.29 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.551e-05/0.009061, allocations: 145.8 kB / 0.7682 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.009084, allocations: 28.62 kB / 0.7682 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.708e-05/0.009122, allocations: 26.66 kB / 0.7682 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.009123, allocations: 10.38 kB / 0.7682 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.009125, allocations: 3.938 kB / 0.7682 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.00913, allocations: 3.984 kB / 0.7682 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003654/0.009495, allocations: 396.4 kB / 0.7686 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.009496, allocations: 0 / 0.7686 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.993e-05/0.009556, allocations: 23.98 kB / 0.7686 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.009559, allocations: 6.875 kB / 0.7686 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.009569, allocations: 7.984 kB / 0.7686 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.009571, allocations: 4 kB / 0.7686 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.009571, allocations: 0 / 0.7686 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.009715, allocations: 232.7 kB / 0.7689 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.448e-05/0.009729, allocations: 19.8 kB / 0.7689 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.009752, allocations: 15.92 kB / 0.7689 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.949e-05/0.009821, allocations: 17.55 kB / 0.7689 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.009879, allocations: 35.94 kB / 0.769 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.009888, allocations: 4 kB / 0.769 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.149e-05/0.00992, allocations: 47.28 kB / 0.769 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.00992, allocations: 5.281 kB / 0.769 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001662/0.01009, allocations: 59.89 kB / 0.7691 GB, free: 13.17 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.658e-05/0.01017, allocations: 95.84 kB / 0.7692 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001623/0.01034, allocations: 141.5 kB / 0.7693 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.01034, allocations: 0 / 0.7693 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.519e-05/0.01041, allocations: 76.75 kB / 0.7694 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001718/0.01058, allocations: 41.47 kB / 0.7694 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005468/0.01113, allocations: 438.9 kB / 0.7698 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.814e-05/0.01118, allocations: 88.31 kB / 0.7699 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.176e-05/0.01125, allocations: 28.75 kB / 0.7699 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.01135, allocations: 91.36 kB / 0.77 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of SimCode: time 4.21e-07/0.01135, allocations: 0 / 0.77 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of Templates: time 0.004572/0.01593, allocations: 3.044 MB / 0.773 GB, free: 9.258 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 -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.662517323158681]