Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.492/1.492, allocations: 249.3 MB / 261.8 MB, free: 5.859 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 176.9 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205.2 MB / 0.572 GB, free: 10.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 95.31 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.541e-05/4.55e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2679, allocations: 106.3 MB / 0.8918 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.892/1.16, allocations: 134.6 MB / 1.023 GB, free: 204 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/1.16, allocations: 93.25 kB / 1.023 GB, free: 148 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01218/1.172, allocations: 4.699 MB / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.914e-06/1.173, allocations: 4 kB / 1.028 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.071e-05/1.173, allocations: 4 kB / 1.028 GB, free: 12.13 MB / 0.6511 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.0007962/1.173, allocations: 0.4979 MB / 1.028 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/1.173, allocations: 8.031 kB / 1.028 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.602e-05/1.173, allocations: 35.62 kB / 1.028 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/1.174, allocations: 258.7 kB / 1.029 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.567e-05/1.174, allocations: 34.73 kB / 1.029 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.308e-05/1.174, allocations: 30.94 kB / 1.029 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005492/1.175, allocations: 292.1 kB / 1.029 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/1.175, allocations: 0 / 1.029 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.513e-05/1.175, allocations: 14.44 kB / 1.029 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/1.175, allocations: 11.95 kB / 1.029 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003848/1.175, allocations: 208.1 kB / 1.029 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001553/1.177, allocations: 0.9613 MB / 1.03 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004717/1.177, allocations: 241.7 kB / 1.03 GB, free: 9.926 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/1.177, allocations: 107.1 kB / 1.031 GB, free: 9.855 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/1.177, allocations: 4.219 kB / 1.031 GB, free: 9.852 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002352/1.178, allocations: 144.1 kB / 1.031 GB, free: 9.734 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 1.573e-06/1.178, allocations: 0 / 1.031 GB, free: 9.734 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.0004344/1.178, allocations: 223.4 kB / 1.031 GB, free: 9.559 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/1.178, allocations: 63.3 kB / 1.031 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/1.178, allocations: 195.2 kB / 1.031 GB, free: 9.316 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/1.178, allocations: 38.89 kB / 1.031 GB, free: 9.281 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/1.178, allocations: 152.1 kB / 1.031 GB, free: 9.148 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.501e-05/1.178, allocations: 76.8 kB / 1.031 GB, free: 9.082 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.78e-05/1.178, allocations: 10.81 kB / 1.031 GB, free: 9.078 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000143/1.179, allocations: 331.9 kB / 1.032 GB, free: 8.754 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/1.179, allocations: 79.62 kB / 1.032 GB, free: 8.707 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/1.179, allocations: 136.2 kB / 1.032 GB, free: 8.594 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/1.179, allocations: 79.97 kB / 1.032 GB, free: 8.539 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.179, allocations: 0 / 1.032 GB, free: 8.539 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000426/1.18, allocations: 287 kB / 1.032 GB, free: 8.316 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/1.18, allocations: 8 kB / 1.032 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/1.18, allocations: 0 / 1.032 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/1.18, allocations: 4 kB / 1.032 GB, free: 8.305 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/1.18, allocations: 46.91 kB / 1.032 GB, free: 8.262 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/1.18, allocations: 4 kB / 1.032 GB, free: 8.258 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/1.18, allocations: 57.92 kB / 1.032 GB, free: 8.207 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.64e-05/1.18, allocations: 11.38 kB / 1.032 GB, free: 8.199 MB / 0.6511 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,$whenCondition2,$whenCondition1,$PRE.heaCon.off.localActive,heaCon.off.localActive,$PRE.heaCon.off.newActive,heaCon.off.newActive,$PRE.heaCon.off.oldActive,heaCon.off.oldActive,heaCon.off.active,$PRE.heaCon.on.localActive,heaCon.on.localActive,$PRE.heaCon.on.newActive,heaCon.on.newActive,$PRE.heaCon.on.oldActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001296/1.18, allocations: 137.8 kB / 1.033 GB, free: 8.066 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/1.18, allocations: 23.72 kB / 1.033 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004667/1.181, allocations: 253.8 kB / 1.033 GB, free: 7.859 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/1.181, allocations: 8 kB / 1.033 GB, free: 7.852 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.181, allocations: 0 / 1.033 GB, free: 7.852 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/1.181, allocations: 3.984 kB / 1.033 GB, free: 7.848 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009017/1.182, allocations: 0.7027 MB / 1.033 GB, free: 7.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.182, allocations: 0 / 1.033 GB, free: 7.23 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/1.182, allocations: 35.09 kB / 1.034 GB, free: 7.199 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/1.182, allocations: 4 kB / 1.034 GB, free: 7.195 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/1.182, allocations: 7.266 kB / 1.034 GB, free: 7.191 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/1.182, allocations: 0 / 1.034 GB, free: 7.191 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/1.182, allocations: 7.938 kB / 1.034 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003954/1.182, allocations: 334.4 kB / 1.034 GB, free: 6.895 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.648e-05/1.182, allocations: 92.83 kB / 1.034 GB, free: 6.785 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/1.183, allocations: 9.875 kB / 1.034 GB, free: 6.781 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/1.183, allocations: 38.86 kB / 1.034 GB, free: 6.746 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/1.183, allocations: 38.12 kB / 1.034 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/1.183, allocations: 11.38 kB / 1.034 GB, free: 6.707 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001086/1.183, allocations: 140.3 kB / 1.034 GB, free: 6.586 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/1.183, allocations: 0 / 1.034 GB, free: 6.586 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002907/1.183, allocations: 59.19 kB / 1.034 GB, free: 6.535 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 21 (heaCon.offToOn.enableFire,heaCon.onToOff.enableFire,heaCon.on.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002006/1.183, allocations: 121.4 kB / 1.034 GB, free: 6.414 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003894/1.184, allocations: 229.9 kB / 1.035 GB, free: 6.254 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/1.184, allocations: 0 / 1.035 GB, free: 6.254 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001929/1.184, allocations: 121.5 kB / 1.035 GB, free: 6.168 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/1.184, allocations: 39.22 kB / 1.035 GB, free: 6.137 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006413/1.185, allocations: 320.3 kB / 1.035 GB, free: 5.859 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/1.185, allocations: 0.772 MB / 1.036 GB, free: 5.059 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001133/1.185, allocations: 26.02 kB / 1.036 GB, free: 5.035 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.108e-05/1.186, allocations: 27.42 kB / 1.036 GB, free: 5.008 MB / 0.6511 GB Notification: Performance of SimCode: time 3.1e-07/1.186, allocations: 0 / 1.036 GB, free: 5.008 MB / 0.6511 GB Notification: Performance of Templates: time 0.006193/1.192, allocations: 2.564 MB / 1.038 GB, free: 2.488 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches