Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl,fileNamePrefix="Buildings_9_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_BatteryControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl,fileNamePrefix="Buildings_9_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_BatteryControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00096/0.00096, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009988/0.0009988, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.382/2.382, allocations: 390.3 MB / 0.6653 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003455, allocations: 8 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8345/0.8349, allocations: 142.3 MB / 0.9536 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl): time 0.002942/0.8379, allocations: 1.919 MB / 0.9555 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002042/0.84, allocations: 0.9191 MB / 0.9564 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004349/0.8405, allocations: 7.781 kB / 0.9564 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000254/0.8407, allocations: 42.47 kB / 0.9564 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003918/0.8411, allocations: 35.88 kB / 0.9565 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007202/0.8419, allocations: 180.4 kB / 0.9566 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007918/0.8427, allocations: 366.8 kB / 0.957 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007365/0.8434, allocations: 355.6 kB / 0.9573 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003442/0.8438, allocations: 141.3 kB / 0.9575 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002917/0.8441, allocations: 161.7 kB / 0.9576 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.309e-05/0.8442, allocations: 23.44 kB / 0.9576 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.8443, allocations: 40.89 kB / 0.9577 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.8445, allocations: 84.28 kB / 0.9577 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.8446, allocations: 106.9 kB / 0.9579 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006167/0.8452, allocations: 0.5325 MB / 0.9584 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.8452, allocations: 0 / 0.9584 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.816e-06/0.8452, allocations: 1.156 kB / 0.9584 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.382e-05/0.8453, allocations: 0 / 0.9584 GB, free: 4.371 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001455/0.8467, allocations: 0.6416 MB / 0.959 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.8468, allocations: 8.719 kB / 0.959 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002135/0.847, allocations: 91.77 kB / 0.9591 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.8472, allocations: 50.47 kB / 0.9591 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004637/0.8477, allocations: 342.1 kB / 0.9595 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.753e-05/0.8477, allocations: 49.66 kB / 0.9595 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.275e-05/0.8478, allocations: 53.28 kB / 0.9596 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.849, allocations: 0.5753 MB / 0.9601 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.849, allocations: 1.375 kB / 0.9601 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.132e-05/0.8491, allocations: 25.45 kB / 0.9602 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-05/0.8491, allocations: 18.88 kB / 0.9602 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008887/0.85, allocations: 428 kB / 0.9606 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002652/0.8527, allocations: 1.938 MB / 0.9625 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006915/0.8534, allocations: 391.5 kB / 0.9628 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.349e-05/0.8535, allocations: 17.94 kB / 0.9629 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000482/0.854, allocations: 274.2 kB / 0.9631 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=48): time 3.507e-06/0.854, allocations: 0 / 0.9631 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=48): time 0.001083/0.8551, allocations: 0.4894 MB / 0.9636 GB, free: 364 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/0.8551, allocations: 119 kB / 0.9637 GB, free: 228 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.8554, allocations: 230.6 kB / 0.9639 GB, free: 40 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.642e-05/0.8555, allocations: 54.69 kB / 0.964 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/0.8557, allocations: 211 kB / 0.9642 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.8559, allocations: 117.8 kB / 0.9643 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.8559, allocations: 10.31 kB / 0.9643 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.8561, allocations: 350.1 kB / 0.9646 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/0.8564, allocations: 169 kB / 0.9648 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004099/0.8569, allocations: 288.4 kB / 0.9651 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003892/0.8573, allocations: 176.3 kB / 0.9653 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/0.8573, allocations: 1.312 kB / 0.9653 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001363/0.8587, allocations: 0.5141 MB / 0.9658 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/0.8587, allocations: 5.812 kB / 0.9658 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.8587, allocations: 3.938 kB / 0.9658 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.051e-05/0.8588, allocations: 7.688 kB / 0.9658 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/0.8591, allocations: 65.34 kB / 0.9658 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.666e-05/0.8591, allocations: 14.2 kB / 0.9658 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003529/0.8595, allocations: 68.77 kB / 0.9659 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.459e-05/0.8596, allocations: 26.62 kB / 0.9659 GB, free: 14.61 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 59 ($PRE.con.multiSwitch1.u[1],$PRE.con.multiSwitch1.u[2],$PRE.con.t1.enableFire,$PRE.con.t2.enableFire,$PRE.con.t3.enableFire,$PRE.con.t4.enableFire,$PRE.con.t3.t_start,con.t3.t_start,$PRE.con.t4.t_start,con.t4.t_start,con.stateGraphRoot.resume,con.stateGraphRoot.suspend,$whenCondition2,$whenCondition1,con.lessThreshold.y,con.not1.y,con.greaterThreshold.y,con.multiSwitch1.u[1],con.multiSwitch1.u[2],con.multiSwitch1.firstActiveIndex,con.off.active,$PRE.con.off.localActive,con.off.localActive,con.off.inPort[1].set,con.off.outPort[1].reset,$PRE.con.off.newActive,con.off.newActive,$PRE.con.off.oldActive,con.off.oldActive,con.stateGraphRoot.activeSteps,con.alternative.split[2].available,con.t1.condition,con.t1.enableFire,con.t1.fire,$PRE.con.t1.t_start,con.t1.t_start,con.t2.condition,con.t2.enableFire,con.t2.fire,$PRE.con.t2.t_start,con.t2.t_start,$PRE.con.charge.localActive,con.charge.localActive,$PRE.con.charge.newActive,con.charge.newActive,$PRE.con.charge.oldActive,con.charge.oldActive,con.charge.active,$PRE.con.discharge.localActive,con.discharge.localActive,$PRE.con.discharge.newActive,con.discharge.newActive,$PRE.con.discharge.oldActive,con.discharge.oldActive,con.discharge.active,con.t3.condition,con.t3.enableFire,con.t4.condition,con.t4.enableFire) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0003937/0.86, allocations: 235.3 kB / 0.9662 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.91e-05/0.86, allocations: 25.47 kB / 0.9662 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009791/0.861, allocations: 437 kB / 0.9666 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.861, allocations: 6.438 kB / 0.9666 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.8611, allocations: 1.312 kB / 0.9666 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/0.8611, allocations: 5.328 kB / 0.9666 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002044/0.8631, allocations: 1.143 MB / 0.9677 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.8632, allocations: 5.125 kB / 0.9677 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.8633, allocations: 39.56 kB / 0.9678 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/0.8633, allocations: 2.594 kB / 0.9678 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.284e-05/0.8634, allocations: 19.69 kB / 0.9678 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.8634, allocations: 6.656 kB / 0.9678 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.8634, allocations: 4.969 kB / 0.9678 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009327/0.8644, allocations: 0.5388 MB / 0.9683 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.8645, allocations: 111 kB / 0.9684 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.75e-05/0.8646, allocations: 12.25 kB / 0.9685 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.8648, allocations: 24.2 kB / 0.9685 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/0.865, allocations: 72.77 kB / 0.9685 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.232e-05/0.865, allocations: 16.5 kB / 0.9686 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001298/0.8651, allocations: 135.5 kB / 0.9687 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8652, allocations: 0 / 0.9687 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005776/0.8657, allocations: 111.2 kB / 0.9688 GB, free: 12.58 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 44 (con.t4.t_start,con.t3.t_start,con.t2.enableFire,con.t1.enableFire,con.discharge.active,con.discharge.localActive,con.charge.active,con.charge.localActive,con.off.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition2,$whenCondition1,con.lessThreshold.y,con.not1.y,con.greaterThreshold.y,con.multiSwitch1.u[1],con.multiSwitch1.u[2],con.multiSwitch1.firstActiveIndex,con.off.active,con.off.inPort[1].set,con.off.outPort[1].reset,con.off.newActive,con.off.oldActive,con.stateGraphRoot.activeSteps,con.alternative.split[2].available,con.t1.condition,con.t1.fire,con.t1.t_start,con.t2.condition,con.t2.fire,con.t2.t_start,con.charge.newActive,con.charge.oldActive,con.discharge.newActive,con.discharge.oldActive,con.t3.condition,con.t3.enableFire,con.t4.condition,con.t4.enableFire) * Number of discrete states: 5 (con.off.newActive,con.charge.newActive,con.discharge.newActive,con.t3.t_start,con.t4.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.001439/0.8672, allocations: 1.262 MB / 0.97 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008875/0.8681, allocations: 447.6 kB / 0.9705 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8681, allocations: 0 / 0.9705 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004176/0.8685, allocations: 236.6 kB / 0.9707 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.8689, allocations: 43.86 kB / 0.9707 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004879/0.8737, allocations: 4.311 MB / 0.9749 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005457/0.8743, allocations: 0.8301 MB / 0.9757 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002762/0.8746, allocations: 63.73 kB / 0.9758 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/0.8749, allocations: 149.2 kB / 0.9759 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of SimCode: time 7.01e-07/0.8749, allocations: 1.094 kB / 0.9759 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.8968, allocations: 7.196 MB / 0.983 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/0.897, allocations: 208.7 kB / 0.9832 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.929/2.826, allocations: 0 / 0.9832 GB, free: 1.293 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.pipe ; mkfifo Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.pipe >> ../files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_BatteryControl_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_BatteryControl.fmu > Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_res.mat does not exist to compare? outputFormat=mat