Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Storage.Examples.Battery,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Storage_Examples_Battery",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Storage.Examples.Battery,fileNamePrefix="Buildings_9_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.006173/0.006173, allocations: 100.1 kB / 15.73 MB, free: 6.004 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.001224/0.001224, allocations: 197.5 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.214/2.214, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 63.89 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8946/0.896, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Storage.Examples.Battery): time 0.00582/0.9019, allocations: 4.213 MB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003384/0.9053, allocations: 1.95 MB / 1.093 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003239/0.9056, allocations: 16.41 kB / 1.093 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.9068, allocations: 394.1 kB / 1.094 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005961/0.9074, allocations: 240 kB / 1.094 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.9085, allocations: 443.2 kB / 1.095 GB, free: 432 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001358/0.9099, allocations: 0.9476 MB / 1.095 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0016/0.9115, allocations: 1.023 MB / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004707/0.912, allocations: 358.6 kB / 1.097 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00061/0.9126, allocations: 389.7 kB / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.9128, allocations: 75.88 kB / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004601/0.9132, allocations: 210.5 kB / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003188/0.9136, allocations: 230.2 kB / 1.098 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004188/0.914, allocations: 363.2 kB / 1.098 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.9154, allocations: 0.9546 MB / 1.099 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.9154, allocations: 5.438 kB / 1.099 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9154, allocations: 0.8438 kB / 1.099 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.9154, allocations: 0 / 1.099 GB, free: 14.32 MB / 0.8731 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.001672/0.9171, allocations: 0.9812 MB / 1.1 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.9171, allocations: 9.375 kB / 1.1 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001636/0.9173, allocations: 124.1 kB / 1.1 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005617/0.9179, allocations: 114.6 kB / 1.1 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007151/0.9186, allocations: 446.3 kB / 1.101 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.944e-05/0.9187, allocations: 64.25 kB / 1.101 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.9189, allocations: 84.16 kB / 1.101 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.9204, allocations: 0.8911 MB / 1.102 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.9204, allocations: 1.625 kB / 1.102 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.492e-05/0.9205, allocations: 29.72 kB / 1.102 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-05/0.9206, allocations: 46.5 kB / 1.102 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.9219, allocations: 0.5656 MB / 1.102 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004883/0.9268, allocations: 3.712 MB / 1.106 GB, free: 9.418 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007031/0.9275, allocations: 391 kB / 1.106 GB, free: 9.184 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004226/0.928, allocations: 231.9 kB / 1.106 GB, free: 9.074 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.003e-05/0.928, allocations: 10.84 kB / 1.106 GB, free: 9.07 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005003/0.9285, allocations: 294.3 kB / 1.107 GB, free: 8.895 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=51): time 2.174e-06/0.9285, allocations: 1.531 kB / 1.107 GB, free: 8.895 MB / 0.8731 GB Notification: Performance of matching and sorting (n=51): time 0.001052/0.9296, allocations: 496.1 kB / 1.107 GB, free: 8.699 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/0.9297, allocations: 205.4 kB / 1.107 GB, free: 8.465 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000563/0.9303, allocations: 413.9 kB / 1.108 GB, free: 8.246 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.619e-05/0.9304, allocations: 53.94 kB / 1.108 GB, free: 8.199 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003202/0.9307, allocations: 326 kB / 1.108 GB, free: 7.941 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.9309, allocations: 147.6 kB / 1.108 GB, free: 7.828 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002752/0.9311, allocations: 168.8 kB / 1.108 GB, free: 7.75 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.9313, allocations: 363.6 kB / 1.109 GB, free: 7.414 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000329/0.9317, allocations: 170.4 kB / 1.109 GB, free: 7.348 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000508/0.9322, allocations: 403.9 kB / 1.109 GB, free: 7 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007458/0.9329, allocations: 0.518 MB / 1.11 GB, free: 6.574 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.933, allocations: 2.594 kB / 1.11 GB, free: 6.574 MB / 0.8731 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001049/0.934, allocations: 0.6138 MB / 1.11 GB, free: 6.312 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.934, allocations: 13.11 kB / 1.11 GB, free: 6.309 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.9341, allocations: 7.188 kB / 1.11 GB, free: 6.309 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.937e-05/0.9341, allocations: 11.56 kB / 1.11 GB, free: 6.309 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/0.9344, allocations: 104.3 kB / 1.111 GB, free: 6.289 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.207e-05/0.9345, allocations: 17.25 kB / 1.111 GB, free: 6.285 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003391/0.9348, allocations: 81.38 kB / 1.111 GB, free: 6.23 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-05/0.9349, allocations: 40.22 kB / 1.111 GB, free: 6.219 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004977/0.9354, allocations: 334.1 kB / 1.111 GB, free: 6.039 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004724/0.9359, allocations: 412.5 kB / 1.111 GB, free: 5.676 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006425/0.9365, allocations: 0.5231 MB / 1.112 GB, free: 5.238 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.739e-06/0.9366, allocations: 6.125 kB / 1.112 GB, free: 5.234 MB / 0.8731 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001013/0.9376, allocations: 0.606 MB / 1.113 GB, free: 4.977 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.9376, allocations: 12.19 kB / 1.113 GB, free: 4.973 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.9376, allocations: 7.844 kB / 1.113 GB, free: 4.973 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.9377, allocations: 11.62 kB / 1.113 GB, free: 4.973 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003847/0.938, allocations: 101 kB / 1.113 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.909e-05/0.9381, allocations: 16.84 kB / 1.113 GB, free: 4.953 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/0.9384, allocations: 68.86 kB / 1.113 GB, free: 4.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-05/0.9385, allocations: 32.55 kB / 1.113 GB, free: 4.906 MB / 0.8731 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.0002279/0.9387, allocations: 249.3 kB / 1.113 GB, free: 4.68 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.933e-05/0.9388, allocations: 52.03 kB / 1.113 GB, free: 4.652 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007481/0.9395, allocations: 390.7 kB / 1.113 GB, free: 4.48 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.495e-06/0.9395, allocations: 6.812 kB / 1.113 GB, free: 4.48 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.9396, allocations: 6.656 kB / 1.113 GB, free: 4.477 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.9396, allocations: 4.703 kB / 1.113 GB, free: 4.477 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/0.9414, allocations: 1.236 MB / 1.115 GB, free: 3.691 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.9414, allocations: 2.594 kB / 1.115 GB, free: 3.691 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/0.9416, allocations: 57.36 kB / 1.115 GB, free: 3.676 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.383e-06/0.9416, allocations: 3.938 kB / 1.115 GB, free: 3.676 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.658e-05/0.9417, allocations: 15.86 kB / 1.115 GB, free: 3.668 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.9417, allocations: 4.828 kB / 1.115 GB, free: 3.668 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.9417, allocations: 6.156 kB / 1.115 GB, free: 3.664 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.9427, allocations: 0.7067 MB / 1.115 GB, free: 3.246 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001791/0.9429, allocations: 160.7 kB / 1.116 GB, free: 3.105 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.551e-05/0.943, allocations: 19.67 kB / 1.116 GB, free: 3.094 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.9432, allocations: 13.19 kB / 1.116 GB, free: 3.09 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.9433, allocations: 57.56 kB / 1.116 GB, free: 3.066 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.046e-05/0.9434, allocations: 20.89 kB / 1.116 GB, free: 3.062 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002935/0.9437, allocations: 255 kB / 1.116 GB, free: 2.934 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.285e-06/0.9437, allocations: 0 / 1.116 GB, free: 2.934 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008856/0.9446, allocations: 283.6 kB / 1.116 GB, free: 2.844 MB / 0.8731 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.001354/0.946, allocations: 1.295 MB / 1.117 GB, free: 1.875 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001364/0.9473, allocations: 0.7558 MB / 1.118 GB, free: 1.625 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.9473, allocations: 1.938 kB / 1.118 GB, free: 1.625 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003675/0.9477, allocations: 207.4 kB / 1.118 GB, free: 1.555 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008843/0.9486, allocations: 118.3 kB / 1.119 GB, free: 1.504 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009241/0.9579, allocations: 4.63 MB / 1.123 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008395/0.9587, allocations: 0.9128 MB / 1.124 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006806/0.9594, allocations: 106.4 kB / 1.124 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000469/0.9599, allocations: 217.1 kB / 1.124 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of SimCode: time 1.432e-06/0.9599, allocations: 0 / 1.124 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05314/1.013, allocations: 10.82 MB / 1.135 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.443/9.456, allocations: 2.031 kB / 1.135 GB, free: 12.48 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Electrical.DC.Storage.Examples.Battery.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Storage.Examples.Battery.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Storage.Examples.Battery.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Storage.Examples.Battery.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.DC.Storage.Examples.Battery_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_DC_Storage_Examples_Battery_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_DC_Storage_Examples_Battery.fmu > Buildings_9_Buildings.Electrical.DC.Storage.Examples.Battery.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Storage.Examples.Battery_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Storage_Examples_Battery.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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