Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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: translateModel(Buildings.Electrical.DC.Storage.Examples.Battery,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bat.terminal.i.1.|loa.i.1.|bat.SOC|sou.S.1.|bat.P|loa.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery") translateModel(Buildings.Electrical.DC.Storage.Examples.Battery,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bat.terminal.i.1.|loa.i.1.|bat.SOC|sou.S.1.|bat.P|loa.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 100.1 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.001639/0.001639, allocations: 177.3 kB / 15.95 MB, free: 216 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.413/1.413, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.861/2.861, allocations: 436.5 MB / 0.7104 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.0003652, allocations: 12 kB / 0.8708 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8266/0.827, allocations: 153.7 MB / 1.021 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Storage.Examples.Battery): time 0.004638/0.8316, allocations: 3.668 MB / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003047/0.8347, allocations: 1.874 MB / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003731/0.8351, allocations: 19.94 kB / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.8354, allocations: 83.28 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004823/0.8359, allocations: 151.5 kB / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008985/0.8368, allocations: 327.4 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007235/0.8375, allocations: 0.5506 MB / 1.027 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009663/0.8385, allocations: 0.7995 MB / 1.028 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002575/0.8388, allocations: 247.1 kB / 1.028 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004011/0.8392, allocations: 270.7 kB / 1.029 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.404e-05/0.8393, allocations: 32 kB / 1.029 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002509/0.8395, allocations: 87.88 kB / 1.029 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.8397, allocations: 159.5 kB / 1.029 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.8398, allocations: 141.3 kB / 1.029 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006187/0.8404, allocations: 0.6565 MB / 1.03 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.8405, allocations: 4 kB / 1.03 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8405, allocations: 0 / 1.03 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.8405, allocations: 0 / 1.03 GB, free: 7.914 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.001495/0.842, allocations: 0.8171 MB / 1.03 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.842, allocations: 11.98 kB / 1.03 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005682/0.8426, allocations: 127 kB / 1.031 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006201/0.8433, allocations: 423.8 kB / 1.031 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.592e-05/0.8433, allocations: 65.95 kB / 1.031 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.8435, allocations: 83.89 kB / 1.031 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.8448, allocations: 0.873 MB / 1.032 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.8448, allocations: 4 kB / 1.032 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.556e-05/0.8449, allocations: 32 kB / 1.032 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.6e-05/0.845, allocations: 49.92 kB / 1.032 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009484/0.8459, allocations: 0.5658 MB / 1.033 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004231/0.8502, allocations: 3.731 MB / 1.036 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006098/0.8508, allocations: 399.1 kB / 1.037 GB, free: 356 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.659e-05/0.8508, allocations: 12.34 kB / 1.037 GB, free: 344 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000421/0.8513, allocations: 288.2 kB / 1.037 GB, free: 24 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=51): time 2.014e-06/0.8513, allocations: 0 / 1.037 GB, free: 24 kB / 0.7794 GB Notification: Performance of matching and sorting (n=51): time 0.0009114/0.8522, allocations: 498.5 kB / 1.037 GB, free: 15.53 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.166e-05/0.8523, allocations: 166.6 kB / 1.038 GB, free: 15.33 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004287/0.8527, allocations: 421.7 kB / 1.038 GB, free: 14.91 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.341e-05/0.8528, allocations: 57.64 kB / 1.038 GB, free: 14.85 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/0.853, allocations: 331.6 kB / 1.038 GB, free: 14.52 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.8532, allocations: 142.1 kB / 1.038 GB, free: 14.38 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/0.8532, allocations: 16 kB / 1.038 GB, free: 14.36 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.8533, allocations: 358.8 kB / 1.039 GB, free: 14 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/0.8536, allocations: 169.8 kB / 1.039 GB, free: 13.84 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004323/0.8541, allocations: 395.6 kB / 1.039 GB, free: 13.35 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003266/0.8544, allocations: 194.1 kB / 1.04 GB, free: 13.16 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.8544, allocations: 0 / 1.04 GB, free: 13.16 MB / 0.795 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0008987/0.8553, allocations: 0.6079 MB / 1.04 GB, free: 12.54 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.001022/0.8564, allocations: 2.7 MB / 1.043 GB, free: 9.633 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.8564, allocations: 8 kB / 1.043 GB, free: 9.625 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/0.8564, allocations: 12 kB / 1.043 GB, free: 9.613 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003767/0.8568, allocations: 103.8 kB / 1.043 GB, free: 9.512 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/0.8568, allocations: 15.94 kB / 1.043 GB, free: 9.496 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003918/0.8572, allocations: 83.11 kB / 1.043 GB, free: 9.414 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.632e-05/0.8573, allocations: 36 kB / 1.043 GB, free: 9.379 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/0.8573, allocations: 4 kB / 1.043 GB, free: 9.375 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008181/0.8581, allocations: 0.54 MB / 1.044 GB, free: 8.832 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.8581, allocations: 8 kB / 1.044 GB, free: 8.824 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.8582, allocations: 12 kB / 1.044 GB, free: 8.812 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/0.8585, allocations: 103.8 kB / 1.044 GB, free: 8.711 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.8585, allocations: 19.88 kB / 1.044 GB, free: 8.691 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/0.8588, allocations: 75.95 kB / 1.044 GB, free: 8.617 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.445e-05/0.8589, allocations: 32 kB / 1.044 GB, free: 8.586 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.toOn.enableFire,$PRE.toHold.enableFire,$PRE.toDischarge.enableFire,$PRE.toOff.enableFire,$whenCondition1,$PRE.bat.cha.underCharged,bat.cha.underCharged,$PRE.bat.cha.overCharged,bat.cha.overCharged,off.active,$PRE.off.localActive,off.localActive,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,toOn.condition,toOn.enableFire,$PRE.charge.localActive,charge.localActive,$PRE.charge.newActive,charge.newActive,$PRE.charge.oldActive,charge.oldActive,charge.active,toHold.condition,toHold.enableFire,hold.active,$PRE.hold.localActive,hold.localActive,$PRE.hold.newActive,hold.newActive,$PRE.hold.oldActive,hold.oldActive,toDischarge.condition,toDischarge.enableFire,$PRE.discharge.localActive,discharge.localActive,$PRE.discharge.newActive,discharge.newActive,$PRE.discharge.oldActive,discharge.oldActive,discharge.active,toOff.condition,toOff.enableFire,stateGraphRoot.activeSteps,$PRE.toOn.t_start,toOn.t_start,$PRE.toHold.t_start,toHold.t_start,$PRE.toDischarge.t_start,toDischarge.t_start,$PRE.toOff.t_start,toOff.t_start,stateGraphRoot.resume,stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 96 * 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.0003877/0.8593, allocations: 334 kB / 1.044 GB, free: 8.25 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.266e-05/0.8594, allocations: 47.44 kB / 1.044 GB, free: 8.203 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006737/0.86, allocations: 405.3 kB / 1.045 GB, free: 7.805 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.8601, allocations: 12 kB / 1.045 GB, free: 7.793 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.8601, allocations: 0 / 1.045 GB, free: 7.793 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.8601, allocations: 3.984 kB / 1.045 GB, free: 7.789 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/0.8616, allocations: 1.086 MB / 1.046 GB, free: 6.637 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.8616, allocations: 4 kB / 1.046 GB, free: 6.633 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/0.8618, allocations: 51.97 kB / 1.046 GB, free: 6.582 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.8619, allocations: 4 kB / 1.046 GB, free: 6.578 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.8619, allocations: 15.94 kB / 1.046 GB, free: 6.562 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.8619, allocations: 4 kB / 1.046 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.8619, allocations: 4 kB / 1.046 GB, free: 6.555 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009469/0.8629, allocations: 0.7678 MB / 1.046 GB, free: 5.723 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.863, allocations: 168.5 kB / 1.047 GB, free: 5.539 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.003e-05/0.8631, allocations: 12 kB / 1.047 GB, free: 5.527 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.8633, allocations: 23.94 kB / 1.047 GB, free: 5.504 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.8635, allocations: 52.3 kB / 1.047 GB, free: 5.453 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-05/0.8635, allocations: 20 kB / 1.047 GB, free: 5.434 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002584/0.8638, allocations: 251.2 kB / 1.047 GB, free: 5.191 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8638, allocations: 0 / 1.047 GB, free: 5.191 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0009532/0.8647, allocations: 282.8 kB / 1.047 GB, free: 4.914 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (bat.cha.SOC) * Number of discrete variables: 36 (toOff.t_start,toDischarge.t_start,toHold.t_start,toOn.t_start,off.localActive,charge.localActive,hold.localActive,discharge.localActive,$cse1,$cse2,$cse3,$cse4,$whenCondition1,bat.cha.underCharged,bat.cha.overCharged,off.active,off.newActive,off.oldActive,toOn.condition,toOn.enableFire,charge.newActive,charge.oldActive,charge.active,toHold.condition,toHold.enableFire,hold.active,hold.newActive,hold.oldActive,toDischarge.condition,toDischarge.enableFire,discharge.newActive,discharge.oldActive,discharge.active,toOff.condition,toOff.enableFire,stateGraphRoot.activeSteps) * Number of discrete states: 10 (discharge.newActive,hold.newActive,charge.newActive,off.newActive,bat.cha.underCharged,bat.cha.overCharged,toOn.t_start,toHold.t_start,toDischarge.t_start,toOff.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002387/0.865, allocations: 138.9 kB / 1.047 GB, free: 4.77 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001439/0.8664, allocations: 0.7466 MB / 1.048 GB, free: 4.023 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.8665, allocations: 0 / 1.048 GB, free: 4.023 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003427/0.8668, allocations: 202.9 kB / 1.048 GB, free: 3.828 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006154/0.8674, allocations: 100.4 kB / 1.048 GB, free: 3.734 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.8696, allocations: 1.231 MB / 1.05 GB, free: 2.457 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/0.8701, allocations: 0.9275 MB / 1.05 GB, free: 1.504 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0004089/0.8705, allocations: 108.8 kB / 1.051 GB, free: 1.398 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.8706, allocations: 43.44 kB / 1.051 GB, free: 1.355 MB / 0.795 GB Notification: Performance of SimCode: time 5.41e-07/0.8706, allocations: 4 kB / 1.051 GB, free: 1.352 MB / 0.795 GB Notification: Performance of Templates: time 0.01165/0.8823, allocations: 5.474 MB / 1.056 GB, free: 11.93 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery.sim & ./Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Storage_Examples_Battery.csv","../files/Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches