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.0009673/0.0009674, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001174/0.001174, allocations: 172.7 kB / 15.95 MB, free: 208 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.352/1.352, allocations: 223.3 MB / 240 MB, free: 5.312 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.311/2.311, allocations: 390.4 MB / 0.6655 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003056/0.0003057, allocations: 8 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7108/0.7111, allocations: 142.3 MB / 0.9539 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl): time 0.002235/0.7134, allocations: 1.917 MB / 0.9557 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.7148, allocations: 0.926 MB / 0.9566 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002767/0.7151, allocations: 8.188 kB / 0.9566 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.7153, allocations: 41.84 kB / 0.9567 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002548/0.7156, allocations: 31.22 kB / 0.9567 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004953/0.7161, allocations: 186.2 kB / 0.9569 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005551/0.7167, allocations: 0.5495 MB / 0.9574 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004276/0.7171, allocations: 351.5 kB / 0.9578 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.7173, allocations: 147 kB / 0.9579 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.7174, allocations: 166.5 kB / 0.9581 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.18e-05/0.7175, allocations: 19.97 kB / 0.9581 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.865e-05/0.7176, allocations: 37.36 kB / 0.9581 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.765e-05/0.7177, allocations: 83.58 kB / 0.9582 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.99e-05/0.7178, allocations: 105.5 kB / 0.9583 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003721/0.7181, allocations: 0.5362 MB / 0.9588 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.7181, allocations: 0 / 0.9588 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7182, allocations: 0 / 0.9588 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.7182, allocations: 0 / 0.9588 GB, free: 4.285 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.000792/0.719, allocations: 0.639 MB / 0.9594 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.719, allocations: 9.625 kB / 0.9595 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.347e-05/0.7191, allocations: 96.33 kB / 0.9595 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.805e-05/0.7192, allocations: 49.56 kB / 0.9596 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.7195, allocations: 334.1 kB / 0.9599 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.617e-05/0.7195, allocations: 50.05 kB / 0.96 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.456e-05/0.7196, allocations: 58.56 kB / 0.96 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008374/0.7205, allocations: 0.57 MB / 0.9606 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.7205, allocations: 0.75 kB / 0.9606 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.102e-05/0.7205, allocations: 33.19 kB / 0.9606 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.251e-05/0.7206, allocations: 26.91 kB / 0.9606 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006886/0.7213, allocations: 425.3 kB / 0.961 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/0.7231, allocations: 1.938 MB / 0.9629 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005274/0.7236, allocations: 391.2 kB / 0.9633 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/0.7239, allocations: 204.2 kB / 0.9635 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.386e-05/0.724, allocations: 11.03 kB / 0.9635 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003704/0.7243, allocations: 274.9 kB / 0.9638 GB, free: 408 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=48): time 1.613e-06/0.7243, allocations: 0 / 0.9638 GB, free: 408 kB / 0.7169 GB Notification: Performance of matching and sorting (n=48): time 0.000818/0.7252, allocations: 0.4933 MB / 0.9642 GB, free: 160 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.7252, allocations: 109.9 kB / 0.9644 GB, free: 32 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.7255, allocations: 242.9 kB / 0.9646 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.263e-05/0.7255, allocations: 51.08 kB / 0.9646 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.7257, allocations: 215.4 kB / 0.9648 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.464e-05/0.7258, allocations: 121.4 kB / 0.965 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.7258, allocations: 14.59 kB / 0.965 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.726, allocations: 342.2 kB / 0.9653 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003035/0.7263, allocations: 166 kB / 0.9655 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000378/0.7266, allocations: 297.6 kB / 0.9657 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.7269, allocations: 172.1 kB / 0.9659 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.7269, allocations: 1.594 kB / 0.9659 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008296/0.7278, allocations: 0.5098 MB / 0.9664 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.7278, allocations: 6.281 kB / 0.9664 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.7278, allocations: 3.812 kB / 0.9664 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.7278, allocations: 7.906 kB / 0.9664 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.7281, allocations: 69.55 kB / 0.9665 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.7281, allocations: 11 kB / 0.9665 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/0.7283, allocations: 68.45 kB / 0.9666 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.081e-05/0.7284, allocations: 30.66 kB / 0.9666 GB, free: 14.4 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.0002687/0.7287, allocations: 235.4 kB / 0.9668 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.682e-05/0.7287, allocations: 28.08 kB / 0.9668 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007701/0.7295, allocations: 426 kB / 0.9672 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.7295, allocations: 10.22 kB / 0.9673 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.7295, allocations: 4.906 kB / 0.9673 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.7296, allocations: 4.984 kB / 0.9673 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.7312, allocations: 1.144 MB / 0.9684 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.7312, allocations: 1.156 kB / 0.9684 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.7314, allocations: 35.52 kB / 0.9684 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-06/0.7314, allocations: 2.531 kB / 0.9684 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.7314, allocations: 19.44 kB / 0.9684 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.7314, allocations: 3 kB / 0.9684 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.7314, allocations: 0.9688 kB / 0.9684 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007066/0.7321, allocations: 0.5193 MB / 0.9689 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.12e-05/0.7322, allocations: 107.1 kB / 0.9691 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.011e-05/0.7323, allocations: 12.12 kB / 0.9691 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.7325, allocations: 35.83 kB / 0.9691 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.7326, allocations: 69.12 kB / 0.9692 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.359e-05/0.7327, allocations: 24.45 kB / 0.9692 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001112/0.7328, allocations: 127.6 kB / 0.9693 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7328, allocations: 0 / 0.9693 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004326/0.7332, allocations: 119.5 kB / 0.9694 GB, free: 12.41 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.001062/0.7343, allocations: 1.101 MB / 0.9705 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007/0.735, allocations: 448.4 kB / 0.9709 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.735, allocations: 0 / 0.9709 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003591/0.7354, allocations: 233.3 kB / 0.9711 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.7358, allocations: 55.33 kB / 0.9712 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003156/0.7389, allocations: 2.061 MB / 0.9732 GB, free: 9.773 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/0.7394, allocations: 0.8216 MB / 0.974 GB, free: 9.02 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002091/0.7396, allocations: 63.66 kB / 0.9741 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/0.7398, allocations: 141.9 kB / 0.9742 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/0.7398, allocations: 0 / 0.9742 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/0.759, allocations: 7.232 MB / 0.9813 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/0.7592, allocations: 218.2 kB / 0.9815 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.853/2.612, allocations: 0 / 0.9815 GB, free: 3.34 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