Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009562/0.0009562, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009065/0.0009065, allocations: 169 kB / 23.02 MB, free: 1.543 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.9047/0.9047, allocations: 177.1 MB / 203.4 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.988/1.988, allocations: 429.5 MB / 0.6732 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.916e-06/2.916e-06, allocations: 0 / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.569e-05/3.86e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.004467/0.004505, allocations: 2.099 MB / 0.8802 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001675/0.00618, allocations: 0.7774 MB / 0.881 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001665/0.006346, allocations: 7.938 kB / 0.881 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002068/0.006553, allocations: 35.55 kB / 0.881 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.006722, allocations: 44.25 kB / 0.881 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006739/0.007396, allocations: 181.3 kB / 0.8812 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005325/0.007928, allocations: 415.1 kB / 0.8816 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004132/0.008341, allocations: 207.7 kB / 0.8818 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003784/0.00872, allocations: 207.6 kB / 0.882 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002218/0.008942, allocations: 115.6 kB / 0.8821 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.928e-05/0.009011, allocations: 40 kB / 0.8822 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.00913, allocations: 51.94 kB / 0.8822 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.833e-05/0.009229, allocations: 81.06 kB / 0.8823 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.009364, allocations: 103.8 kB / 0.8824 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004437/0.009807, allocations: 267 kB / 0.8826 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.009811, allocations: 1.594 kB / 0.8826 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.31e-07/0.009812, allocations: 0 / 0.8826 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.00982, allocations: 0 / 0.8826 GB, free: 1.75 MB / 0.8386 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.0009858/0.01081, allocations: 0.6205 MB / 0.8833 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.01086, allocations: 8.031 kB / 0.8833 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004783/0.01133, allocations: 76.72 kB / 0.8833 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.01171, allocations: 228.1 kB / 0.8835 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.684e-05/0.01176, allocations: 21.03 kB / 0.8836 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.226e-05/0.01181, allocations: 32.38 kB / 0.8836 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005306/0.01234, allocations: 252 kB / 0.8838 GB, free: 456 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.01236, allocations: 192 / 0.8838 GB, free: 456 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.599e-05/0.01239, allocations: 12.38 kB / 0.8839 GB, free: 444 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/0.01241, allocations: 11.94 kB / 0.8839 GB, free: 432 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.01273, allocations: 107.8 kB / 0.884 GB, free: 324 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.01409, allocations: 0.8385 MB / 0.8848 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004055/0.0145, allocations: 164.1 kB / 0.8849 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.01465, allocations: 69.3 kB / 0.885 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.01468, allocations: 8.234 kB / 0.885 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002315/0.01491, allocations: 126.2 kB / 0.8851 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=30): time 2.004e-06/0.01491, allocations: 0 / 0.8851 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30): time 0.0005811/0.01549, allocations: 237.9 kB / 0.8854 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.01554, allocations: 59.39 kB / 0.8854 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.01576, allocations: 246.6 kB / 0.8857 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.172e-05/0.0158, allocations: 41.7 kB / 0.8857 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.01594, allocations: 203.5 kB / 0.8859 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.927e-05/0.01602, allocations: 83.36 kB / 0.886 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.01617, allocations: 83.34 kB / 0.886 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.01635, allocations: 0.5079 MB / 0.8865 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.01649, allocations: 43.97 kB / 0.8866 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.01667, allocations: 114.8 kB / 0.8867 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.01696, allocations: 171.2 kB / 0.8869 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.01696, allocations: 0 / 0.8869 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004592/0.01742, allocations: 236.9 kB / 0.8871 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.01744, allocations: 4 kB / 0.8871 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.01745, allocations: 7.938 kB / 0.8871 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.01747, allocations: 0 / 0.8871 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.01766, allocations: 43.91 kB / 0.8871 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.01767, allocations: 4 kB / 0.8871 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.01781, allocations: 39.77 kB / 0.8872 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.01784, allocations: 15.98 kB / 0.8872 GB, free: 12.81 MB / 0.8542 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.0001723/0.01802, allocations: 196.5 kB / 0.8874 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/0.01807, allocations: 31.86 kB / 0.8874 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.362e-05/0.01813, allocations: 30.59 kB / 0.8874 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.01814, allocations: 7.984 kB / 0.8874 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.01814, allocations: 0 / 0.8874 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.01815, allocations: 0 / 0.8874 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008681/0.01902, allocations: 0.5874 MB / 0.888 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01902, allocations: 0 / 0.888 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.01914, allocations: 27.98 kB / 0.888 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.01914, allocations: 4 kB / 0.8881 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/0.01917, allocations: 11.98 kB / 0.8881 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.01917, allocations: 0 / 0.8881 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01917, allocations: 0 / 0.8881 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000418/0.01959, allocations: 349.9 kB / 0.8884 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.475e-05/0.01961, allocations: 15.84 kB / 0.8884 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.119e-05/0.01965, allocations: 11.98 kB / 0.8884 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.01979, allocations: 15.98 kB / 0.8884 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.01991, allocations: 31.94 kB / 0.8885 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.01993, allocations: 16 kB / 0.8885 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001103/0.02004, allocations: 169.6 kB / 0.8886 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.02004, allocations: 0 / 0.8886 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003959/0.02043, allocations: 63.84 kB / 0.8887 GB, free: 11.19 MB / 0.8542 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.0001322/0.02057, allocations: 119.4 kB / 0.8888 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003979/0.02096, allocations: 172.4 kB / 0.889 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.02097, allocations: 0 / 0.889 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.02115, allocations: 87.89 kB / 0.8891 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.02158, allocations: 44.73 kB / 0.8891 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.02266, allocations: 445.4 kB / 0.8895 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.918e-05/0.02274, allocations: 88.31 kB / 0.8896 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001193/0.02286, allocations: 26.3 kB / 0.8896 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.916e-05/0.02296, allocations: 28.48 kB / 0.8897 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of SimCode: time 6.61e-07/0.02296, allocations: 0 / 0.8897 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of Templates: time 0.007973/0.03094, allocations: 3.035 MB / 0.8926 GB, free: 7.164 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.055147895589471]