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.006669/0.006669, allocations: 101.5 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.001339/0.001339, allocations: 188.6 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.415/2.415, allocations: 390.2 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001283, allocations: 58.31 kB / 0.9504 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2661, allocations: 140.4 MB / 1.087 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Storage.Examples.Battery): time 0.006781/0.2729, allocations: 4.207 MB / 1.092 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003702/0.2766, allocations: 1.952 MB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005267/0.2772, allocations: 15.94 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.2786, allocations: 392.1 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000953/0.2796, allocations: 238.6 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.2809, allocations: 443.1 kB / 1.095 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001439/0.2824, allocations: 0.9479 MB / 1.095 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001545/0.284, allocations: 1.021 MB / 1.096 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005375/0.2845, allocations: 358.7 kB / 1.097 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006359/0.2852, allocations: 390.3 kB / 1.097 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000163/0.2853, allocations: 80 kB / 1.097 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004443/0.2858, allocations: 207.7 kB / 1.097 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002261/0.286, allocations: 223.4 kB / 1.098 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004121/0.2865, allocations: 370.1 kB / 1.098 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.2877, allocations: 0.9584 MB / 1.099 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2877, allocations: 4 kB / 1.099 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2877, allocations: 0 / 1.099 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.542e-05/0.2877, allocations: 4 kB / 1.099 GB, free: 6.188 MB / 0.8575 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.002132/0.2899, allocations: 0.9653 MB / 1.1 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.2899, allocations: 12.03 kB / 1.1 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001893/0.2901, allocations: 122.8 kB / 1.1 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005894/0.2907, allocations: 116 kB / 1.1 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007685/0.2915, allocations: 448.8 kB / 1.101 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.197e-05/0.2916, allocations: 62.38 kB / 1.101 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.2917, allocations: 84.27 kB / 1.101 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.2932, allocations: 0.8849 MB / 1.102 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.057e-05/0.2933, allocations: 4 kB / 1.102 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.909e-05/0.2933, allocations: 31.98 kB / 1.102 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.739e-05/0.2934, allocations: 45.98 kB / 1.102 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.2946, allocations: 0.5775 MB / 1.102 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005174/0.2998, allocations: 3.716 MB / 1.106 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000718/0.3005, allocations: 386.6 kB / 1.106 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004384/0.301, allocations: 232.9 kB / 1.106 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4e-05/0.301, allocations: 12.36 kB / 1.106 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004832/0.3015, allocations: 296.9 kB / 1.107 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=51): time 4.258e-06/0.3016, allocations: 0 / 1.107 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of matching and sorting (n=51): time 0.001034/0.3026, allocations: 497.5 kB / 1.107 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.3027, allocations: 191.9 kB / 1.107 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000529/0.3033, allocations: 417.8 kB / 1.108 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.9e-05/0.3034, allocations: 57.69 kB / 1.108 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002815/0.3037, allocations: 327.7 kB / 1.108 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.3038, allocations: 142.1 kB / 1.108 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002572/0.3041, allocations: 174.5 kB / 1.108 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.3042, allocations: 358.8 kB / 1.109 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/0.3046, allocations: 168.8 kB / 1.109 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004492/0.305, allocations: 412.4 kB / 1.109 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000689/0.3057, allocations: 0.5196 MB / 1.11 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.3057, allocations: 0 / 1.11 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001043/0.3068, allocations: 0.6157 MB / 1.11 GB, free: 9.641 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.3068, allocations: 8.156 kB / 1.11 GB, free: 9.633 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.3068, allocations: 8 kB / 1.11 GB, free: 9.625 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/0.3069, allocations: 12 kB / 1.11 GB, free: 9.613 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/0.3072, allocations: 103.8 kB / 1.111 GB, free: 9.512 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.229e-05/0.3073, allocations: 15.94 kB / 1.111 GB, free: 9.496 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003869/0.3077, allocations: 83.11 kB / 1.111 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.754e-05/0.3078, allocations: 32 kB / 1.111 GB, free: 9.383 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000502/0.3083, allocations: 330 kB / 1.111 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004482/0.3087, allocations: 412.3 kB / 1.111 GB, free: 8.547 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006654/0.3094, allocations: 0.5182 MB / 1.112 GB, free: 7.926 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.915e-06/0.3094, allocations: 4 kB / 1.112 GB, free: 7.922 MB / 0.8731 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.0009595/0.3104, allocations: 0.6206 MB / 1.113 GB, free: 7.293 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.3104, allocations: 15.97 kB / 1.113 GB, free: 7.277 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.3104, allocations: 8 kB / 1.113 GB, free: 7.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.3104, allocations: 12 kB / 1.113 GB, free: 7.258 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/0.3108, allocations: 103.8 kB / 1.113 GB, free: 7.156 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/0.3108, allocations: 15.92 kB / 1.113 GB, free: 7.141 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/0.3111, allocations: 63.52 kB / 1.113 GB, free: 7.078 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.434e-05/0.3112, allocations: 28 kB / 1.113 GB, free: 7.051 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.0002167/0.3114, allocations: 253.2 kB / 1.113 GB, free: 6.797 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.807e-05/0.3115, allocations: 51.38 kB / 1.113 GB, free: 6.746 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006684/0.3122, allocations: 401.1 kB / 1.113 GB, free: 6.348 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.3122, allocations: 8 kB / 1.113 GB, free: 6.34 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.3122, allocations: 0 / 1.113 GB, free: 6.34 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.3122, allocations: 7.984 kB / 1.113 GB, free: 6.332 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.3139, allocations: 1.23 MB / 1.115 GB, free: 5.023 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.314, allocations: 4 kB / 1.115 GB, free: 5.02 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.3142, allocations: 47.84 kB / 1.115 GB, free: 4.973 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/0.3142, allocations: 7.984 kB / 1.115 GB, free: 4.965 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.487e-05/0.3142, allocations: 15.98 kB / 1.115 GB, free: 4.949 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.942e-06/0.3143, allocations: 8 kB / 1.115 GB, free: 4.941 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.3143, allocations: 8.062 kB / 1.115 GB, free: 4.934 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009345/0.3152, allocations: 0.7068 MB / 1.115 GB, free: 4.18 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/0.3154, allocations: 160.4 kB / 1.116 GB, free: 4.004 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.481e-05/0.3155, allocations: 16 kB / 1.116 GB, free: 3.988 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.3157, allocations: 11.98 kB / 1.116 GB, free: 3.977 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.3159, allocations: 60.25 kB / 1.116 GB, free: 3.918 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.621e-05/0.3159, allocations: 16 kB / 1.116 GB, free: 3.902 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002747/0.3162, allocations: 263.2 kB / 1.116 GB, free: 3.645 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3162, allocations: 0 / 1.116 GB, free: 3.645 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009124/0.3171, allocations: 282.8 kB / 1.116 GB, free: 3.367 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.001319/0.3184, allocations: 1.282 MB / 1.117 GB, free: 2.043 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001327/0.3198, allocations: 0.7537 MB / 1.118 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.3198, allocations: 0 / 1.118 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003464/0.3202, allocations: 214.2 kB / 1.118 GB, free: 1.082 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007342/0.3209, allocations: 119.2 kB / 1.118 GB, free: 0.9727 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006225/0.3271, allocations: 4.636 MB / 1.123 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005151/0.3277, allocations: 0.9117 MB / 1.124 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003946/0.3281, allocations: 108.8 kB / 1.124 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002935/0.3284, allocations: 219.3 kB / 1.124 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of SimCode: time 7.32e-07/0.3284, allocations: 0 / 1.124 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03466/0.3631, allocations: 11 MB / 1.135 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.395/8.758, allocations: 9.641 kB / 1.135 GB, free: 15.88 MB / 0.9044 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