Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_BatteryControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl,fileNamePrefix="Buildings_latest_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.01212/0.01212, allocations: 101.9 kB / 15.73 MB, free: 6.031 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.002595/0.002595, allocations: 197.2 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.651/2.651, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 64.12 kB / 1.054 GB, free: 7.672 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2714, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl): time 0.003554/0.275, allocations: 2.266 MB / 1.209 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001593/0.2766, allocations: 0.9427 MB / 1.21 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002232/0.2768, allocations: 11.94 kB / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001995/0.277, allocations: 55.34 kB / 1.21 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002772/0.2773, allocations: 59.45 kB / 1.211 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006212/0.278, allocations: 275.6 kB / 1.211 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006716/0.2787, allocations: 0.6325 MB / 1.211 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000603/0.2793, allocations: 472.4 kB / 1.212 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002774/0.2796, allocations: 215.3 kB / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002827/0.2798, allocations: 227 kB / 1.212 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.28, allocations: 72 kB / 1.212 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.2801, allocations: 83.98 kB / 1.212 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001554/0.2803, allocations: 147.6 kB / 1.213 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000238/0.2805, allocations: 262.7 kB / 1.213 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006514/0.2812, allocations: 0.7478 MB / 1.214 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.2812, allocations: 0 / 1.214 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2812, allocations: 0 / 1.214 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.269e-05/0.2812, allocations: 4 kB / 1.214 GB, free: 3.684 MB / 0.9669 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.001194/0.2824, allocations: 0.7253 MB / 1.214 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.2825, allocations: 8.625 kB / 1.214 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001043/0.2826, allocations: 98.69 kB / 1.214 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.621e-05/0.2827, allocations: 48.38 kB / 1.214 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/0.2831, allocations: 348.2 kB / 1.215 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.997e-05/0.2832, allocations: 49.62 kB / 1.215 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.252e-05/0.2832, allocations: 60.38 kB / 1.215 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009296/0.2842, allocations: 0.5736 MB / 1.215 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.2842, allocations: 0 / 1.215 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.666e-05/0.2843, allocations: 23.98 kB / 1.215 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.408e-05/0.2843, allocations: 28.94 kB / 1.215 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007574/0.2851, allocations: 423.7 kB / 1.216 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002243/0.2873, allocations: 1.915 MB / 1.218 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006093/0.2879, allocations: 399.2 kB / 1.218 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003042/0.2883, allocations: 203.8 kB / 1.218 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.333e-05/0.2883, allocations: 12 kB / 1.218 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004286/0.2888, allocations: 280.9 kB / 1.219 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=48): time 2.314e-06/0.2888, allocations: 0 / 1.219 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48): time 0.0009204/0.2897, allocations: 496.4 kB / 1.219 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/0.2898, allocations: 115.1 kB / 1.219 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.29, allocations: 242.4 kB / 1.219 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.593e-05/0.2901, allocations: 49.7 kB / 1.219 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.2902, allocations: 216.8 kB / 1.22 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.801e-05/0.2903, allocations: 122.4 kB / 1.22 GB, free: 13 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.2905, allocations: 146.2 kB / 1.22 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.2906, allocations: 346.7 kB / 1.22 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003062/0.2909, allocations: 165.2 kB / 1.22 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003696/0.2913, allocations: 292.8 kB / 1.221 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005885/0.2919, allocations: 418.4 kB / 1.221 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.2919, allocations: 4 kB / 1.221 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008383/0.2928, allocations: 0.5101 MB / 1.222 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.2928, allocations: 8 kB / 1.222 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.2928, allocations: 4.469 kB / 1.222 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.2928, allocations: 12 kB / 1.222 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.2931, allocations: 63.83 kB / 1.222 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.2931, allocations: 11.94 kB / 1.222 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.2934, allocations: 51.58 kB / 1.222 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-05/0.2934, allocations: 27.98 kB / 1.222 GB, free: 10.86 MB / 0.9825 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,con.t3.t_start,$PRE.con.t3.t_start,con.t4.t_start,$PRE.con.t4.t_start,con.stateGraphRoot.resume,con.stateGraphRoot.suspend,con.t4.enableFire,con.t4.localCondition,con.t3.enableFire,con.t3.localCondition,con.discharge.active,con.discharge.oldActive,$PRE.con.discharge.oldActive,con.discharge.newActive,$PRE.con.discharge.newActive,con.discharge.localActive,$PRE.con.discharge.localActive,con.charge.active,con.charge.oldActive,$PRE.con.charge.oldActive,con.charge.newActive,$PRE.con.charge.newActive,con.charge.localActive,$PRE.con.charge.localActive,con.t2.t_start,$PRE.con.t2.t_start,con.t2.fire,con.t2.enableFire,con.t2.localCondition,con.t1.t_start,$PRE.con.t1.t_start,con.t1.fire,con.t1.enableFire,con.t1.localCondition,con.alternative.split[2].available,con.stateGraphRoot.activeSteps,con.off.oldActive,$PRE.con.off.oldActive,con.off.newActive,$PRE.con.off.newActive,con.off.outPort[1].reset,con.off.inPort[1].set,con.off.localActive,$PRE.con.off.localActive,con.off.active,con.multiSwitch1.firstActiveIndex,con.multiSwitch1.u[2],con.multiSwitch1.u[1],con.greaterThreshold.y,con.not1.y,con.lessThreshold.y,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000247/0.2937, allocations: 238.8 kB / 1.222 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.005e-05/0.2937, allocations: 23.72 kB / 1.222 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007565/0.2945, allocations: 427.5 kB / 1.222 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.2945, allocations: 4 kB / 1.222 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.2945, allocations: 7.984 kB / 1.222 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.2945, allocations: 0 / 1.222 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.2961, allocations: 1.148 MB / 1.224 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.2961, allocations: 0 / 1.224 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.2963, allocations: 39.91 kB / 1.224 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.2963, allocations: 3.938 kB / 1.224 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.2963, allocations: 8 kB / 1.224 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.2963, allocations: 4 kB / 1.224 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.2963, allocations: 3.938 kB / 1.224 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007167/0.297, allocations: 0.5259 MB / 1.224 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.586e-05/0.2971, allocations: 104.7 kB / 1.224 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.084e-05/0.2972, allocations: 15.94 kB / 1.224 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.2974, allocations: 23.97 kB / 1.224 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.2975, allocations: 64.36 kB / 1.224 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.112e-05/0.2976, allocations: 27.92 kB / 1.224 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001009/0.2977, allocations: 132.4 kB / 1.224 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2977, allocations: 0 / 1.224 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004663/0.2982, allocations: 115.5 kB / 1.225 GB, free: 7.84 MB / 0.9825 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.localActive,con.discharge.active,con.charge.localActive,con.charge.active,con.off.active,$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.localActive,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.localCondition,con.t1.fire,con.t1.t_start,con.t2.localCondition,con.t2.fire,con.t2.t_start,con.charge.newActive,con.charge.oldActive,con.discharge.newActive,con.discharge.oldActive,con.t3.localCondition,con.t3.enableFire,con.t4.localCondition,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001048/0.2992, allocations: 1.106 MB / 1.226 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007527/0.3, allocations: 446.4 kB / 1.226 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3, allocations: 4.062 kB / 1.226 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003589/0.3004, allocations: 230.3 kB / 1.226 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.3008, allocations: 51.97 kB / 1.226 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004181/0.305, allocations: 3.423 MB / 1.23 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.3053, allocations: 0.8191 MB / 1.23 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001999/0.3055, allocations: 67.23 kB / 1.231 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/0.3058, allocations: 143.4 kB / 1.231 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.3058, allocations: 4 kB / 1.231 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/0.3311, allocations: 8.151 MB / 1.239 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.905/8.236, allocations: 2.75 kB / 1.239 GB, free: 9.336 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_BatteryControl_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_BatteryControl.fmu > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_BatteryControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,con.SOC,con.y,con.isDay.y Variables in the result:SOC.amplitude,SOC.f,SOC.offset,SOC.phase,SOC.startTime,SOC.y,con.SOC,con.alternative.inPort.available,con.alternative.inPort.reset,con.alternative.join[1].occupied,con.alternative.join[1].set,con.alternative.join[2].occupied,con.alternative.join[2].set,con.alternative.nBranches,con.alternative.outPort.occupied,con.alternative.outPort.set,con.alternative.split[1].available,con.alternative.split[1].reset,con.alternative.split[2].available,con.alternative.split[2].reset,con.and1.u1,con.and1.u2,con.and1.y,con.and2.u1,con.and2.u2,con.and2.y,con.charge.active,con.charge.inPort[1].occupied,con.charge.inPort[1].set,con.charge.localActive,con.charge.nIn,con.charge.nOut,con.charge.outPort[1].available,con.charge.outPort[1].reset,con.discharge.active,con.discharge.inPort[1].occupied,con.discharge.inPort[1].set,con.discharge.localActive,con.discharge.nIn,con.discharge.nOut,con.discharge.outPort[1].available,con.discharge.outPort[1].reset,con.greaterEqualThreshold.threshold,con.greaterEqualThreshold.u,con.greaterEqualThreshold.y,con.greaterThreshold.threshold,con.greaterThreshold.u,con.greaterThreshold.y,con.isDay.y,con.lessEqualThreshold.threshold,con.lessEqualThreshold.u,con.lessEqualThreshold.y,con.lessThreshold.threshold,con.lessThreshold.u,con.lessThreshold.y,con.multiSwitch1.expr[1],con.multiSwitch1.expr[2],con.multiSwitch1.nu,con.multiSwitch1.precision,con.multiSwitch1.u[1],con.multiSwitch1.u[2],con.multiSwitch1.y,con.multiSwitch1.y_default,con.not1.u,con.not1.y,con.off.active,con.off.inPort[1].occupied,con.off.inPort[1].set,con.off.localActive,con.off.nIn,con.off.nOut,con.off.outPort[1].available,con.off.outPort[1].reset,con.stateGraphRoot.activeSteps,con.stateGraphRoot.resume,con.stateGraphRoot.subgraphStatePort.activeSteps,con.stateGraphRoot.subgraphStatePort.activeStepsDummy,con.stateGraphRoot.subgraphStatePort.resume,con.stateGraphRoot.subgraphStatePort.suspend,con.stateGraphRoot.suspend,con.t1.condition,con.t1.enableFire,con.t1.enableTimer,con.t1.fire,con.t1.inPort.available,con.t1.inPort.reset,con.t1.localCondition,con.t1.outPort.occupied,con.t1.outPort.set,con.t1.t,con.t1.waitTime,con.t2.condition,con.t2.enableFire,con.t2.enableTimer,con.t2.fire,con.t2.inPort.available,con.t2.inPort.reset,con.t2.localCondition,con.t2.outPort.occupied,con.t2.outPort.set,con.t2.t,con.t2.waitTime,con.t3.condition,con.t3.enableFire,con.t3.enableTimer,con.t3.fire,con.t3.inPort.available,con.t3.inPort.reset,con.t3.localCondition,con.t3.outPort.occupied,con.t3.outPort.set,con.t3.t,con.t3.waitTime,con.t4.condition,con.t4.enableFire,con.t4.enableTimer,con.t4.fire,con.t4.inPort.available,con.t4.inPort.reset,con.t4.localCondition,con.t4.outPort.occupied,con.t4.outPort.set,con.t4.t,con.t4.waitTime,con.y,time