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.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.Electrical.DC.Storage.Examples.Battery,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Storage_Examples_Battery",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Storage.Examples.Battery,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Storage_Examples_Battery",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.008562/0.008562, allocations: 101.8 kB / 15.73 MB, free: 6 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.001856/0.001856, allocations: 196.9 kB / 16.68 MB, free: 5.926 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.467/2.467, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 63.91 kB / 1.054 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8514/0.8528, allocations: 157.4 MB / 1.207 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Storage.Examples.Battery): time 0.006572/0.8594, allocations: 4.225 MB / 1.211 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00379/0.8632, allocations: 1.951 MB / 1.213 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005815/0.8638, allocations: 15.94 kB / 1.213 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.8652, allocations: 390 kB / 1.214 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0008332/0.8661, allocations: 234.5 kB / 1.214 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.8673, allocations: 443.2 kB / 1.214 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001357/0.8687, allocations: 0.9478 MB / 1.215 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001603/0.8703, allocations: 1.02 MB / 1.216 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005776/0.8709, allocations: 354.8 kB / 1.217 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006995/0.8716, allocations: 390.2 kB / 1.217 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001682/0.8718, allocations: 76 kB / 1.217 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004518/0.8722, allocations: 211.7 kB / 1.217 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000248/0.8725, allocations: 223.4 kB / 1.217 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004386/0.8729, allocations: 374.1 kB / 1.218 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.8742, allocations: 0.9537 MB / 1.219 GB, free: 1.781 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.8742, allocations: 4 kB / 1.219 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8742, allocations: 3.938 kB / 1.219 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.458e-05/0.8742, allocations: 0 / 1.219 GB, free: 1.773 MB / 0.9356 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.001774/0.876, allocations: 0.981 MB / 1.22 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.8761, allocations: 8.031 kB / 1.22 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001433/0.8762, allocations: 122.9 kB / 1.22 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004868/0.8767, allocations: 120 kB / 1.22 GB, free: 496 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006265/0.8774, allocations: 440.8 kB / 1.22 GB, free: 20 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.431e-05/0.8774, allocations: 70.36 kB / 1.22 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.8776, allocations: 80.36 kB / 1.22 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.8788, allocations: 0.8808 MB / 1.221 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.8789, allocations: 4 kB / 1.221 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.15e-05/0.879, allocations: 35.98 kB / 1.221 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.038e-05/0.879, allocations: 45.98 kB / 1.221 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008937/0.8799, allocations: 0.5697 MB / 1.222 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003729/0.8837, allocations: 3.696 MB / 1.226 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006031/0.8843, allocations: 394.9 kB / 1.226 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003917/0.8847, allocations: 239 kB / 1.226 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.8847, allocations: 4.375 kB / 1.226 GB, free: 9.676 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004329/0.8852, allocations: 304.4 kB / 1.227 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=51): time 2.505e-06/0.8852, allocations: 0 / 1.227 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of matching and sorting (n=51): time 0.0009058/0.8861, allocations: 497.5 kB / 1.227 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.8862, allocations: 196.5 kB / 1.227 GB, free: 8.625 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000415/0.8866, allocations: 417.2 kB / 1.228 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.823e-05/0.8867, allocations: 53.7 kB / 1.228 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/0.887, allocations: 335.6 kB / 1.228 GB, free: 7.82 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.8871, allocations: 134.2 kB / 1.228 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/0.8873, allocations: 174.5 kB / 1.228 GB, free: 7.508 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.8874, allocations: 362.8 kB / 1.229 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/0.8877, allocations: 168.8 kB / 1.229 GB, free: 6.977 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004132/0.8881, allocations: 404.4 kB / 1.229 GB, free: 6.48 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006267/0.8888, allocations: 0.5157 MB / 1.23 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.8888, allocations: 4 kB / 1.23 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0008923/0.8897, allocations: 0.6195 MB / 1.23 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.8897, allocations: 8 kB / 1.23 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.8897, allocations: 11.98 kB / 1.23 GB, free: 5.215 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.8898, allocations: 12 kB / 1.23 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.8901, allocations: 103.8 kB / 1.23 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2e-05/0.8901, allocations: 23.92 kB / 1.23 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/0.8904, allocations: 71.22 kB / 1.23 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.847e-05/0.8905, allocations: 35.98 kB / 1.23 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004265/0.8909, allocations: 326.2 kB / 1.231 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004017/0.8913, allocations: 420.3 kB / 1.231 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005815/0.8919, allocations: 0.5145 MB / 1.232 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.695e-06/0.8919, allocations: 0 / 1.232 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.0008376/0.8928, allocations: 0.6205 MB / 1.232 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.8928, allocations: 15.92 kB / 1.232 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.8928, allocations: 8 kB / 1.232 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.8928, allocations: 12 kB / 1.232 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.8931, allocations: 95.77 kB / 1.232 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.8931, allocations: 19.92 kB / 1.232 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/0.8935, allocations: 55.53 kB / 1.233 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.483e-05/0.8935, allocations: 40.23 kB / 1.233 GB, free: 2.652 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.toOn.enableFire,$PRE.toHold.enableFire,$PRE.toDischarge.enableFire,$PRE.toOff.enableFire,stateGraphRoot.activeSteps,toOff.enableFire,toOff.localCondition,discharge.active,discharge.oldActive,$PRE.discharge.oldActive,discharge.newActive,$PRE.discharge.newActive,discharge.localActive,$PRE.discharge.localActive,toDischarge.enableFire,toDischarge.localCondition,hold.oldActive,$PRE.hold.oldActive,hold.newActive,$PRE.hold.newActive,hold.localActive,$PRE.hold.localActive,hold.active,toHold.enableFire,toHold.localCondition,charge.active,charge.oldActive,$PRE.charge.oldActive,charge.newActive,$PRE.charge.newActive,charge.localActive,$PRE.charge.localActive,toOn.enableFire,toOn.localCondition,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.localActive,$PRE.off.localActive,off.active,bat.cha.overCharged,$PRE.bat.cha.overCharged,bat.cha.underCharged,$PRE.bat.cha.underCharged,$whenCondition1,toOn.t_start,$PRE.toOn.t_start,toHold.t_start,$PRE.toHold.t_start,toDischarge.t_start,$PRE.toDischarge.t_start,toOff.t_start,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000187/0.8937, allocations: 253.2 kB / 1.233 GB, free: 2.398 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-05/0.8938, allocations: 51.38 kB / 1.233 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006479/0.8944, allocations: 401 kB / 1.233 GB, free: 1.949 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.8945, allocations: 4 kB / 1.233 GB, free: 1.945 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.8945, allocations: 4 kB / 1.233 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.8945, allocations: 3.984 kB / 1.233 GB, free: 1.938 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/0.8961, allocations: 1.23 MB / 1.234 GB, free: 0.6211 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.8961, allocations: 4 kB / 1.234 GB, free: 0.6172 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.8963, allocations: 55.84 kB / 1.234 GB, free: 0.5625 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.8963, allocations: 4.125 kB / 1.234 GB, free: 0.5586 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.8964, allocations: 16 kB / 1.235 GB, free: 0.543 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.8964, allocations: 7.984 kB / 1.235 GB, free: 0.5352 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.8964, allocations: 7.938 kB / 1.235 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009199/0.8973, allocations: 0.699 MB / 1.235 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/0.8975, allocations: 168.3 kB / 1.235 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.281e-05/0.8976, allocations: 12 kB / 1.235 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.8977, allocations: 19.98 kB / 1.235 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.8979, allocations: 60.31 kB / 1.235 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/0.8979, allocations: 16 kB / 1.235 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002486/0.8982, allocations: 255.2 kB / 1.236 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8982, allocations: 0 / 1.236 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008534/0.899, allocations: 278.9 kB / 1.236 GB, free: 14.98 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.active,hold.localActive,discharge.active,$cse1,$cse2,$cse3,$cse4,$whenCondition1,bat.cha.underCharged,bat.cha.overCharged,off.active,off.newActive,off.oldActive,toOn.localCondition,toOn.enableFire,charge.localActive,charge.newActive,charge.oldActive,toHold.localCondition,toHold.enableFire,hold.active,hold.newActive,hold.oldActive,toDischarge.localCondition,toDischarge.enableFire,discharge.localActive,discharge.newActive,discharge.oldActive,toOff.localCondition,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 (56): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001256/0.9003, allocations: 1.295 MB / 1.237 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001158/0.9015, allocations: 0.7529 MB / 1.238 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.9015, allocations: 0 / 1.238 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003157/0.9018, allocations: 211.9 kB / 1.238 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006686/0.9025, allocations: 123.4 kB / 1.238 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0059/0.9084, allocations: 4.636 MB / 1.243 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005993/0.909, allocations: 0.9117 MB / 1.244 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003613/0.9094, allocations: 108.8 kB / 1.244 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002814/0.9097, allocations: 215.4 kB / 1.244 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of SimCode: time 4.41e-07/0.9097, allocations: 0 / 1.244 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03489/0.9446, allocations: 11.02 MB / 1.255 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.926, allocations: 15.55 kB / 1.255 GB, free: 11.47 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Storage_Examples_Battery_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Storage_Examples_Battery.fmu > 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bat.terminal.i[1],loa.i[1],bat.SOC,sou.S[1],bat.P,loa.S[1] Variables in the result:PCha.k,PCha.y,PDis.k,PDis.y,POff.k,POff.y,add.k1,add.k2,add.u1,add.u2,add.y,bat.EMax,bat.P,bat.SOC,bat.SOC_start,bat.V_nominal,bat.cha.SOC,bat.etaCha,bat.etaDis,bat.terminal.i[1],bat.terminal.i[2],bat.terminal.v[1],bat.terminal.v[2],chaSwi.u1,chaSwi.u2,chaSwi.u3,chaSwi.y,charge.active,charge.inPort[1].occupied,charge.inPort[1].set,charge.localActive,charge.nIn,charge.nOut,charge.outPort[1].available,charge.outPort[1].reset,const1.k,const1.y,der(bat.cha.SOC),disSwi.u1,disSwi.u2,disSwi.u3,disSwi.y,discharge.active,discharge.inPort[1].occupied,discharge.inPort[1].set,discharge.localActive,discharge.nIn,discharge.nOut,discharge.outPort[1].available,discharge.outPort[1].reset,greaterEqualThreshold.threshold,greaterEqualThreshold.u,greaterEqualThreshold.y,ground.p.i,ground.p.v,hold.active,hold.inPort[1].occupied,hold.inPort[1].set,hold.localActive,hold.nIn,hold.nOut,hold.outPort[1].available,hold.outPort[1].reset,lessEqualThreshold.threshold,lessEqualThreshold.u,lessEqualThreshold.y,loa.P,loa.P_nominal,loa.Pow,loa.S[1],loa.S[2],loa.V_nominal,loa.i[1],loa.i[2],loa.initMode,loa.linearized,loa.mode,loa.terminal.i[1],loa.terminal.i[2],loa.terminal.v[1],loa.terminal.v[2],loa.v[1],loa.v[2],off.active,off.inPort[1].occupied,off.inPort[1].set,off.localActive,off.nIn,off.nOut,off.outPort[1].available,off.outPort[1].reset,powSen.I,powSen.P,powSen.V,powSen.terminal_n.i[1],powSen.terminal_n.i[2],powSen.terminal_n.v[1],powSen.terminal_n.v[2],powSen.terminal_p.i[1],powSen.terminal_p.i[2],powSen.terminal_p.v[1],powSen.terminal_p.v[2],sou.S[1],sou.S[2],sou.V,sou.definiteReference,sou.n.i,sou.n.v,sou.phi,sou.potentialReference,sou.terminal.i[1],sou.terminal.i[2],sou.terminal.v[1],sou.terminal.v[2],startCharge.period,startCharge.startTime,startCharge.y,startDischarge.period,startDischarge.startTime,startDischarge.y,stateGraphRoot.activeSteps,stateGraphRoot.resume,stateGraphRoot.subgraphStatePort.activeSteps,stateGraphRoot.subgraphStatePort.activeStepsDummy,stateGraphRoot.subgraphStatePort.resume,stateGraphRoot.subgraphStatePort.suspend,stateGraphRoot.suspend,time,toDischarge.condition,toDischarge.enableFire,toDischarge.enableTimer,toDischarge.fire,toDischarge.inPort.available,toDischarge.inPort.reset,toDischarge.localCondition,toDischarge.outPort.occupied,toDischarge.outPort.set,toDischarge.t,toDischarge.waitTime,toHold.condition,toHold.enableFire,toHold.enableTimer,toHold.fire,toHold.inPort.available,toHold.inPort.reset,toHold.localCondition,toHold.outPort.occupied,toHold.outPort.set,toHold.t,toHold.waitTime,toOff.condition,toOff.enableFire,toOff.enableTimer,toOff.fire,toOff.inPort.available,toOff.inPort.reset,toOff.localCondition,toOff.outPort.occupied,toOff.outPort.set,toOff.t,toOff.waitTime,toOn.condition,toOn.enableFire,toOn.enableTimer,toOn.fire,toOn.inPort.available,toOn.inPort.reset,toOn.localCondition,toOn.outPort.occupied,toOn.outPort.set,toOn.t,toOn.waitTime