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/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.242/2.242, allocations: 393.5 MB / 408.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 174.1 kB / 0.4902 GB, free: 2.242 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 223.2 MB / 0.7992 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 100.3 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003535, allocations: 13.69 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2806, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1919/0.4725, allocations: 152.9 MB / 1.379 GB, free: 0.6055 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.4728, allocations: 95.94 kB / 1.379 GB, free: 0.5117 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01346/0.4863, allocations: 4.809 MB / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4863, allocations: 0 / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.813e-05/0.4864, allocations: 11.98 kB / 1.383 GB, free: 11.65 MB / 0.8855 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.0009412/0.4873, allocations: 0.5165 MB / 1.384 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.4874, allocations: 12.5 kB / 1.384 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.4875, allocations: 31.62 kB / 1.384 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004295/0.4879, allocations: 266.6 kB / 1.384 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.56e-05/0.488, allocations: 24.56 kB / 1.384 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.644e-05/0.4881, allocations: 31.94 kB / 1.384 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006271/0.4887, allocations: 315.7 kB / 1.385 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.4887, allocations: 0 / 1.385 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.62e-05/0.4888, allocations: 15.95 kB / 1.385 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.4888, allocations: 8 kB / 1.385 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004943/0.4893, allocations: 238.1 kB / 1.385 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.4909, allocations: 0.9639 MB / 1.386 GB, free: 9.078 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004987/0.4914, allocations: 255.6 kB / 1.386 GB, free: 8.82 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.4914, allocations: 8.219 kB / 1.386 GB, free: 8.812 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002853/0.4917, allocations: 157 kB / 1.386 GB, free: 8.648 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=30): time 1.734e-06/0.4917, allocations: 0 / 1.386 GB, free: 8.648 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30): time 0.0006878/0.4924, allocations: 337.3 kB / 1.386 GB, free: 8.312 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.4925, allocations: 67.33 kB / 1.386 GB, free: 8.234 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.4926, allocations: 181.3 kB / 1.387 GB, free: 8.047 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.388e-05/0.4927, allocations: 41.7 kB / 1.387 GB, free: 8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.728e-05/0.4928, allocations: 156.6 kB / 1.387 GB, free: 7.844 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.188e-05/0.4929, allocations: 78.89 kB / 1.387 GB, free: 7.766 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.731e-05/0.4929, allocations: 12 kB / 1.387 GB, free: 7.754 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.493, allocations: 334.8 kB / 1.387 GB, free: 7.418 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.4932, allocations: 95.95 kB / 1.387 GB, free: 7.324 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.4934, allocations: 157 kB / 1.388 GB, free: 7.152 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.4936, allocations: 95.48 kB / 1.388 GB, free: 7.059 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4936, allocations: 0 / 1.388 GB, free: 7.059 MB / 0.8855 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005118/0.4942, allocations: 305 kB / 1.388 GB, free: 6.754 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.4942, allocations: 10.19 kB / 1.388 GB, free: 6.746 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.4942, allocations: 160 / 1.388 GB, free: 6.746 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.4942, allocations: 8 kB / 1.388 GB, free: 6.738 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.4944, allocations: 47.84 kB / 1.388 GB, free: 6.691 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.4945, allocations: 7.953 kB / 1.388 GB, free: 6.684 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.4947, allocations: 39.91 kB / 1.388 GB, free: 6.645 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.4947, allocations: 19.98 kB / 1.388 GB, free: 6.625 MB / 0.8855 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001695/0.4949, allocations: 166.5 kB / 1.388 GB, free: 6.453 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.4949, allocations: 23.72 kB / 1.388 GB, free: 6.43 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005269/0.4954, allocations: 296.9 kB / 1.388 GB, free: 6.137 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.4955, allocations: 4 kB / 1.388 GB, free: 6.133 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4955, allocations: 0 / 1.388 GB, free: 6.133 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.4955, allocations: 3.953 kB / 1.388 GB, free: 6.129 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009713/0.4965, allocations: 0.7328 MB / 1.389 GB, free: 5.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4965, allocations: 4 kB / 1.389 GB, free: 5.336 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.4966, allocations: 23.98 kB / 1.389 GB, free: 5.312 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4966, allocations: 0 / 1.389 GB, free: 5.312 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.4967, allocations: 11.95 kB / 1.389 GB, free: 5.301 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4967, allocations: 0 / 1.389 GB, free: 5.301 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4967, allocations: 0 / 1.389 GB, free: 5.301 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004482/0.4971, allocations: 367.7 kB / 1.39 GB, free: 4.926 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.064e-05/0.4972, allocations: 92.83 kB / 1.39 GB, free: 4.816 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.4972, allocations: 8 kB / 1.39 GB, free: 4.809 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.4974, allocations: 40.05 kB / 1.39 GB, free: 4.77 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.232e-05/0.4975, allocations: 43.92 kB / 1.39 GB, free: 4.727 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.4976, allocations: 8 kB / 1.39 GB, free: 4.719 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.124e-05/0.4977, allocations: 136.3 kB / 1.39 GB, free: 4.586 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4977, allocations: 3.938 kB / 1.39 GB, free: 4.582 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002919/0.498, allocations: 52 kB / 1.39 GB, free: 4.531 MB / 0.8855 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) * Number of clocked states: 0 () * 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.0001711/0.4981, allocations: 129.3 kB / 1.39 GB, free: 4.395 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004571/0.4986, allocations: 255.8 kB / 1.39 GB, free: 4.145 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4986, allocations: 0 / 1.39 GB, free: 4.145 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.4988, allocations: 128.2 kB / 1.39 GB, free: 4.02 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.4991, allocations: 43.91 kB / 1.39 GB, free: 3.977 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007882/0.4999, allocations: 0.5307 MB / 1.391 GB, free: 3.414 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.5002, allocations: 0.7722 MB / 1.392 GB, free: 2.609 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001169/0.5003, allocations: 26.28 kB / 1.392 GB, free: 2.586 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.681e-05/0.5004, allocations: 23.42 kB / 1.392 GB, free: 2.562 MB / 0.8855 GB Notification: Performance of SimCode: time 4.91e-07/0.5004, allocations: 4 kB / 1.392 GB, free: 2.559 MB / 0.8855 GB Notification: Performance of Templates: time 0.005784/0.5062, allocations: 2.546 MB / 1.394 GB, free: 40 kB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) 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","../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches