Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001323/0.001323, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001445/0.001445, allocations: 165 kB / 23.82 MB, free: 0.7422 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.8872/0.8872, allocations: 177.1 MB / 204.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.665/1.665, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.547e-05/1.666e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002186/0.002203, allocations: 2.098 MB / 0.7891 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.003256, allocations: 0.7779 MB / 0.7899 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.003366, allocations: 7.938 kB / 0.7899 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.003489, allocations: 32.36 kB / 0.7899 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.879e-05/0.003578, allocations: 50.06 kB / 0.79 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.003976, allocations: 183.6 kB / 0.7902 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003102/0.004286, allocations: 411.1 kB / 0.7905 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002472/0.004534, allocations: 206.2 kB / 0.7907 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.004751, allocations: 215.5 kB / 0.7909 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.004881, allocations: 108.2 kB / 0.791 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.668e-05/0.004918, allocations: 40 kB / 0.7911 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.864e-05/0.004987, allocations: 48.61 kB / 0.7911 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.802e-05/0.005045, allocations: 88.75 kB / 0.7912 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.603e-05/0.005121, allocations: 95.75 kB / 0.7913 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.005382, allocations: 267 kB / 0.7916 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.005384, allocations: 5.844 kB / 0.7916 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.91e-07/0.005384, allocations: 0 / 0.7916 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.005389, allocations: 0 / 0.7916 GB, free: 7.887 MB / 0.7448 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.0006003/0.00599, allocations: 0.6103 MB / 0.7922 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.006024, allocations: 12.03 kB / 0.7922 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002698/0.006293, allocations: 76.72 kB / 0.7922 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.006509, allocations: 221.1 kB / 0.7925 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.006539, allocations: 29.03 kB / 0.7925 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.006566, allocations: 30.94 kB / 0.7925 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.006878, allocations: 248 kB / 0.7928 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.006887, allocations: 192 / 0.7928 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.006908, allocations: 12.38 kB / 0.7928 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.006919, allocations: 15.92 kB / 0.7928 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.007096, allocations: 107.8 kB / 0.7929 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008243/0.00792, allocations: 0.8364 MB / 0.7937 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.008156, allocations: 159.6 kB / 0.7939 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.1e-05/0.008247, allocations: 68.83 kB / 0.7939 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.008264, allocations: 4.234 kB / 0.7939 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001346/0.008398, allocations: 117.8 kB / 0.794 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=30): time 1.402e-06/0.0084, allocations: 0 / 0.794 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30): time 0.0003342/0.008734, allocations: 239.3 kB / 0.7943 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.008765, allocations: 64.11 kB / 0.7943 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.008908, allocations: 250.5 kB / 0.7946 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.00893, allocations: 38.86 kB / 0.7946 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.208e-05/0.009012, allocations: 207.5 kB / 0.7948 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.252e-05/0.009085, allocations: 87.3 kB / 0.7949 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-05/0.009167, allocations: 92.67 kB / 0.795 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.009277, allocations: 0.5001 MB / 0.7955 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.628e-05/0.009354, allocations: 43.97 kB / 0.7955 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.009459, allocations: 122 kB / 0.7956 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.009667, allocations: 154.4 kB / 0.7958 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.00967, allocations: 0 / 0.7958 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002502/0.00992, allocations: 245.4 kB / 0.796 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.009931, allocations: 9.406 kB / 0.796 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.009936, allocations: 3.938 kB / 0.796 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.009948, allocations: 4 kB / 0.796 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.01006, allocations: 39.91 kB / 0.7961 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.01007, allocations: 5.125 kB / 0.7961 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.462e-05/0.01014, allocations: 35.83 kB / 0.7961 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.01016, allocations: 13.94 kB / 0.7961 GB, free: 2.98 MB / 0.7448 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 9.92e-05/0.01025, allocations: 196.4 kB / 0.7963 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.01028, allocations: 30.31 kB / 0.7963 GB, free: 2.754 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.727e-05/0.01032, allocations: 34.59 kB / 0.7964 GB, free: 2.719 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.01032, allocations: 0 / 0.7964 GB, free: 2.719 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.01032, allocations: 4 kB / 0.7964 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.01033, allocations: 3.984 kB / 0.7964 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004859/0.01081, allocations: 0.5884 MB / 0.7969 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.01081, allocations: 0.5312 kB / 0.7969 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.514e-05/0.01088, allocations: 29.86 kB / 0.797 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01088, allocations: 0 / 0.797 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.01089, allocations: 7.984 kB / 0.797 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.0109, allocations: 4 kB / 0.797 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.0109, allocations: 0 / 0.797 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.01112, allocations: 344.6 kB / 0.7973 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.335e-05/0.01114, allocations: 24.89 kB / 0.7973 GB, free: 1.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.01116, allocations: 11.98 kB / 0.7973 GB, free: 1.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.935e-05/0.01123, allocations: 16.64 kB / 0.7974 GB, free: 1.637 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.698e-05/0.0113, allocations: 36.72 kB / 0.7974 GB, free: 1.602 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-06/0.01131, allocations: 4 kB / 0.7974 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001727/0.01148, allocations: 172.2 kB / 0.7976 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01148, allocations: 0 / 0.7976 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001875/0.01167, allocations: 63.83 kB / 0.7976 GB, free: 1.371 MB / 0.7448 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 7.777e-05/0.01175, allocations: 121.2 kB / 0.7977 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002249/0.01197, allocations: 169.2 kB / 0.7979 GB, free: 1.074 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01197, allocations: 0 / 0.7979 GB, free: 1.074 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.946e-05/0.01207, allocations: 88.08 kB / 0.798 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.0123, allocations: 52.78 kB / 0.798 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006328/0.01293, allocations: 443 kB / 0.7985 GB, free: 488 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.695e-05/0.01298, allocations: 93.38 kB / 0.7985 GB, free: 372 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.452e-05/0.01304, allocations: 25.52 kB / 0.7986 GB, free: 352 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.156e-05/0.0131, allocations: 28.48 kB / 0.7986 GB, free: 324 kB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/0.0131, allocations: 0 / 0.7986 GB, free: 324 kB / 0.7448 GB Notification: Performance of Templates: time 0.004658/0.01776, allocations: 3.04 MB / 0.8016 GB, free: 13.34 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.659098969306797]