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.005901/0.005901, allocations: 100.7 kB / 15.73 MB, free: 6.469 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.001232/0.001233, allocations: 193.2 kB / 16.67 MB, free: 6.379 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.755/2.755, allocations: 461.9 MB / 0.7348 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 59.89 kB / 1.054 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3271, allocations: 157.4 MB / 1.207 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Storage.Examples.Battery): time 0.006171/0.3333, allocations: 4.219 MB / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003537/0.3369, allocations: 1.944 MB / 1.213 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005824/0.3375, allocations: 15.94 kB / 1.213 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.3389, allocations: 405.8 kB / 1.214 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0008265/0.3397, allocations: 230.6 kB / 1.214 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.341, allocations: 439.2 kB / 1.214 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001466/0.3425, allocations: 0.944 MB / 1.215 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001714/0.3442, allocations: 1.03 MB / 1.216 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005624/0.3448, allocations: 350.8 kB / 1.217 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006794/0.3455, allocations: 394.3 kB / 1.217 GB, free: 228 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001578/0.3457, allocations: 76 kB / 1.217 GB, free: 152 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004539/0.3461, allocations: 207.8 kB / 1.217 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002496/0.3464, allocations: 227.3 kB / 1.217 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004593/0.3469, allocations: 378 kB / 1.218 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001251/0.3481, allocations: 0.9537 MB / 1.219 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.3481, allocations: 4 kB / 1.219 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.502e-06/0.3481, allocations: 0 / 1.219 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.65e-05/0.3482, allocations: 0 / 1.219 GB, free: 14.39 MB / 0.9825 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.001901/0.3501, allocations: 0.9673 MB / 1.22 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.3501, allocations: 12.62 kB / 1.22 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001547/0.3503, allocations: 118.9 kB / 1.22 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005284/0.3508, allocations: 124 kB / 1.22 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006705/0.3515, allocations: 448.8 kB / 1.22 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.3517, allocations: 62.38 kB / 1.22 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.3518, allocations: 80.38 kB / 1.22 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.3531, allocations: 0.8887 MB / 1.221 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.3532, allocations: 3.938 kB / 1.221 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.738e-05/0.3532, allocations: 28 kB / 1.221 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-05/0.3533, allocations: 45.98 kB / 1.221 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009673/0.3543, allocations: 0.5659 MB / 1.222 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004083/0.3584, allocations: 3.72 MB / 1.226 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006235/0.359, allocations: 386.8 kB / 1.226 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004031/0.3594, allocations: 230.3 kB / 1.226 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.848e-05/0.3595, allocations: 12.38 kB / 1.226 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004315/0.3599, allocations: 293 kB / 1.226 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=51): time 2.915e-06/0.3599, allocations: 0 / 1.226 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of matching and sorting (n=51): time 0.0009983/0.361, allocations: 497.5 kB / 1.227 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.3611, allocations: 200.5 kB / 1.227 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005285/0.3616, allocations: 417.2 kB / 1.228 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.605e-05/0.3617, allocations: 53.69 kB / 1.228 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003246/0.362, allocations: 331.7 kB / 1.228 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/0.3622, allocations: 142.2 kB / 1.228 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000269/0.3625, allocations: 170.5 kB / 1.228 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.3626, allocations: 362.8 kB / 1.229 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/0.3629, allocations: 176.7 kB / 1.229 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000462/0.3634, allocations: 400.5 kB / 1.229 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006856/0.3641, allocations: 0.5235 MB / 1.23 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/0.3641, allocations: 0 / 1.23 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.000975/0.3651, allocations: 0.6196 MB / 1.23 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.3651, allocations: 8 kB / 1.23 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.3651, allocations: 8 kB / 1.23 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.3652, allocations: 8 kB / 1.23 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003391/0.3655, allocations: 107.8 kB / 1.23 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.051e-05/0.3655, allocations: 15.94 kB / 1.23 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003232/0.3659, allocations: 75.27 kB / 1.23 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.866e-05/0.3659, allocations: 32 kB / 1.23 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004721/0.3664, allocations: 326.2 kB / 1.231 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004327/0.3669, allocations: 412.3 kB / 1.231 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006519/0.3675, allocations: 0.5184 MB / 1.232 GB, free: 152 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.895e-06/0.3675, allocations: 4 kB / 1.232 GB, free: 148 kB / 0.9825 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.000948/0.3685, allocations: 0.6205 MB / 1.232 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3685, allocations: 11.94 kB / 1.232 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.3685, allocations: 8 kB / 1.232 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.3685, allocations: 12 kB / 1.232 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.3689, allocations: 103.8 kB / 1.232 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.3689, allocations: 19.92 kB / 1.232 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003372/0.3692, allocations: 67.36 kB / 1.233 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.445e-05/0.3693, allocations: 36.28 kB / 1.233 GB, free: 15.26 MB / 0.9981 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.0002274/0.3695, allocations: 249.2 kB / 1.233 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.348e-05/0.3696, allocations: 55.36 kB / 1.233 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006745/0.3703, allocations: 389.1 kB / 1.233 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.3703, allocations: 8 kB / 1.233 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3703, allocations: 0 / 1.233 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.3703, allocations: 7.984 kB / 1.233 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.372, allocations: 1.234 MB / 1.234 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.3721, allocations: 4 kB / 1.234 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.3723, allocations: 47.91 kB / 1.234 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.3723, allocations: 4.125 kB / 1.234 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.742e-05/0.3723, allocations: 23.98 kB / 1.234 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.3724, allocations: 7.938 kB / 1.235 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.3724, allocations: 7.938 kB / 1.235 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009423/0.3733, allocations: 0.7147 MB / 1.235 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/0.3735, allocations: 156.4 kB / 1.235 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.003e-05/0.3736, allocations: 16 kB / 1.235 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.3738, allocations: 11.98 kB / 1.235 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.3739, allocations: 64.31 kB / 1.235 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/0.3739, allocations: 20 kB / 1.235 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000254/0.3742, allocations: 255.2 kB / 1.236 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3742, allocations: 0 / 1.236 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009/0.3751, allocations: 278.8 kB / 1.236 GB, free: 11.59 MB / 0.9981 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.001267/0.3764, allocations: 1.293 MB / 1.237 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001261/0.3777, allocations: 0.7567 MB / 1.238 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/0.3777, allocations: 4 kB / 1.238 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000307/0.378, allocations: 207.9 kB / 1.238 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006568/0.3787, allocations: 121.8 kB / 1.238 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005752/0.3844, allocations: 4.628 MB / 1.243 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005196/0.385, allocations: 0.9039 MB / 1.244 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003778/0.3854, allocations: 104.8 kB / 1.244 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002872/0.3857, allocations: 219.3 kB / 1.244 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of SimCode: time 7.31e-07/0.3857, allocations: 4 kB / 1.244 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6603/1.046, allocations: 11.01 MB / 1.255 GB, free: 38.29 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.923/8.969, allocations: 10.12 kB / 1.255 GB, free: 38.29 MB / 0.9981 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