Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 112.3 kB / 19.73 MB, free: 416 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 216.2 kB / 23.03 MB, free: 2.949 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.002/1.002, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.071/2.071, allocations: 0.4898 GB / 0.7957 GB, free: 2.301 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Storage.Examples.Battery,fileNamePrefix="Buildings_12_Buildings_Electrical_DC_Storage_Examples_Battery",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Storage.Examples.Battery,fileNamePrefix="Buildings_12_Buildings_Electrical_DC_Storage_Examples_Battery",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 79.88 kB / 1.156 GB, free: 15.15 MB / 0.948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6416/0.6431, allocations: 176.2 MB / 1.328 GB, free: 9.277 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Storage.Examples.Battery): time 0.004357/0.6475, allocations: 4.093 MB / 1.332 GB, free: 5.172 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.002646/0.6501, allocations: 1.928 MB / 1.334 GB, free: 3.234 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003401/0.6505, allocations: 19.88 kB / 1.334 GB, free: 3.215 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0007729/0.6512, allocations: 405.9 kB / 1.335 GB, free: 2.816 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0004639/0.6517, allocations: 242.4 kB / 1.335 GB, free: 2.578 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007939/0.6525, allocations: 458 kB / 1.335 GB, free: 2.133 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0008852/0.6534, allocations: 0.9558 MB / 1.336 GB, free: 1.172 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009417/0.6543, allocations: 0.8892 MB / 1.337 GB, free: 276 kB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004212/0.6547, allocations: 366.8 kB / 1.337 GB, free: 15.91 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005143/0.6553, allocations: 366.2 kB / 1.338 GB, free: 15.55 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 7.873e-05/0.6553, allocations: 80 kB / 1.338 GB, free: 15.47 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002887/0.6556, allocations: 191.7 kB / 1.338 GB, free: 15.29 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.6558, allocations: 231.4 kB / 1.338 GB, free: 15.06 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.656, allocations: 306.5 kB / 1.339 GB, free: 14.76 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.0008148/0.6568, allocations: 0.9678 MB / 1.339 GB, free: 13.79 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/0.6568, allocations: 4 kB / 1.339 GB, free: 13.79 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6568, allocations: 0 / 1.339 GB, free: 13.79 MB / 1.026 GB Notification: Performance of Transformations before backend: time 1.742e-05/0.6568, allocations: 0 / 1.339 GB, free: 13.79 MB / 1.026 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.001435/0.6582, allocations: 0.9202 MB / 1.34 GB, free: 12.84 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.6583, allocations: 8.031 kB / 1.34 GB, free: 12.83 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001085/0.6584, allocations: 130.8 kB / 1.341 GB, free: 12.69 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005468/0.6589, allocations: 140.3 kB / 1.341 GB, free: 12.55 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004608/0.6594, allocations: 374.8 kB / 1.341 GB, free: 12.16 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.547e-05/0.6594, allocations: 74.31 kB / 1.341 GB, free: 12.09 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.538e-05/0.6595, allocations: 88.34 kB / 1.341 GB, free: 12.01 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009326/0.6604, allocations: 0.9428 MB / 1.342 GB, free: 10.98 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.6605, allocations: 0 / 1.342 GB, free: 10.98 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.444e-05/0.6605, allocations: 31.98 kB / 1.342 GB, free: 10.95 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-05/0.6606, allocations: 49.92 kB / 1.342 GB, free: 10.91 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006716/0.6612, allocations: 0.5659 MB / 1.343 GB, free: 10.34 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002561/0.6638, allocations: 3.115 MB / 1.346 GB, free: 7.102 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004934/0.6643, allocations: 359.3 kB / 1.346 GB, free: 6.699 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/0.6645, allocations: 205 kB / 1.346 GB, free: 6.484 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.6646, allocations: 8.375 kB / 1.346 GB, free: 6.477 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003094/0.6649, allocations: 300.9 kB / 1.347 GB, free: 6.156 MB / 1.026 GB Notification: Performance of pre-optimization done (n=51): time 2.244e-06/0.6649, allocations: 0 / 1.347 GB, free: 6.156 MB / 1.026 GB Notification: Performance of matching and sorting (n=51): time 0.0008024/0.6657, allocations: 496.4 kB / 1.347 GB, free: 5.664 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.39e-05/0.6658, allocations: 195.9 kB / 1.347 GB, free: 5.43 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.6661, allocations: 421.3 kB / 1.348 GB, free: 5.012 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 4.471e-05/0.6661, allocations: 57.69 kB / 1.348 GB, free: 4.949 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.6663, allocations: 341.2 kB / 1.348 GB, free: 4.609 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 8.551e-05/0.6664, allocations: 142.9 kB / 1.348 GB, free: 4.469 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.6665, allocations: 174.5 kB / 1.348 GB, free: 4.289 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.6666, allocations: 366.8 kB / 1.349 GB, free: 3.922 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.6668, allocations: 160.8 kB / 1.349 GB, free: 3.762 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003134/0.6671, allocations: 467.7 kB / 1.349 GB, free: 3.188 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004831/0.6676, allocations: 0.5186 MB / 1.35 GB, free: 2.574 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.6676, allocations: 0 / 1.35 GB, free: 2.574 MB / 1.026 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0006774/0.6683, allocations: 0.6221 MB / 1.35 GB, free: 1.941 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.6683, allocations: 8 kB / 1.35 GB, free: 1.934 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.6683, allocations: 8 kB / 1.35 GB, free: 1.926 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.6684, allocations: 12 kB / 1.35 GB, free: 1.914 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.6686, allocations: 99.77 kB / 1.351 GB, free: 1.816 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.6686, allocations: 15.94 kB / 1.351 GB, free: 1.801 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.6688, allocations: 79.86 kB / 1.351 GB, free: 1.723 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.6688, allocations: 32 kB / 1.351 GB, free: 1.691 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000346/0.6691, allocations: 330 kB / 1.351 GB, free: 1.367 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003073/0.6695, allocations: 455.8 kB / 1.351 GB, free: 0.8086 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004278/0.6699, allocations: 0.5108 MB / 1.352 GB, free: 208 kB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.586e-06/0.6699, allocations: 4 kB / 1.352 GB, free: 204 kB / 1.026 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.0006201/0.6705, allocations: 0.6068 MB / 1.352 GB, free: 15.58 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.6705, allocations: 11.94 kB / 1.353 GB, free: 15.57 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.6705, allocations: 8 kB / 1.353 GB, free: 15.56 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/0.6705, allocations: 12 kB / 1.353 GB, free: 15.55 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.6707, allocations: 99.7 kB / 1.353 GB, free: 15.45 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.6707, allocations: 15.98 kB / 1.353 GB, free: 15.43 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.6709, allocations: 67.55 kB / 1.353 GB, free: 15.37 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.6709, allocations: 36 kB / 1.353 GB, free: 15.33 MB / 1.042 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.0001518/0.6711, allocations: 250 kB / 1.353 GB, free: 15.08 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.754e-05/0.6711, allocations: 55.61 kB / 1.353 GB, free: 15.03 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.646e-05/0.6712, allocations: 60.64 kB / 1.353 GB, free: 14.96 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.6712, allocations: 8 kB / 1.353 GB, free: 14.96 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.6712, allocations: 0 / 1.353 GB, free: 14.96 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.6712, allocations: 7.984 kB / 1.353 GB, free: 14.95 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.6725, allocations: 1.078 MB / 1.354 GB, free: 13.81 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.6725, allocations: 4 kB / 1.354 GB, free: 13.8 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.6726, allocations: 47.86 kB / 1.354 GB, free: 13.76 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.6726, allocations: 7.984 kB / 1.354 GB, free: 13.75 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.6726, allocations: 8 kB / 1.354 GB, free: 13.74 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.6726, allocations: 7.938 kB / 1.354 GB, free: 13.73 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.6726, allocations: 7.938 kB / 1.354 GB, free: 13.73 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006308/0.6732, allocations: 0.6821 MB / 1.355 GB, free: 13 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.6733, allocations: 79.64 kB / 1.355 GB, free: 12.93 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.6734, allocations: 16.16 kB / 1.355 GB, free: 12.91 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.6735, allocations: 19.98 kB / 1.355 GB, free: 12.89 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.294e-05/0.6736, allocations: 51.86 kB / 1.355 GB, free: 12.84 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.6736, allocations: 19.94 kB / 1.355 GB, free: 12.82 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001792/0.6738, allocations: 259.1 kB / 1.355 GB, free: 12.57 MB / 1.042 GB Notification: Performance of sort global known variables: time 8e-08/0.6738, allocations: 0 / 1.355 GB, free: 12.57 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0005936/0.6744, allocations: 287.1 kB / 1.356 GB, free: 12.29 MB / 1.042 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: 32 (toOff.t_start,toDischarge.t_start,toHold.t_start,toOn.t_start,off.localActive,charge.active,hold.localActive,discharge.active,$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 (52): * Single equations (assignments): 44 * 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.00102/0.6754, allocations: 1.254 MB / 1.357 GB, free: 10.98 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0008381/0.6762, allocations: 0.69 MB / 1.357 GB, free: 10.3 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.6762, allocations: 0 / 1.357 GB, free: 10.3 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002042/0.6764, allocations: 173.4 kB / 1.358 GB, free: 10.14 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.6769, allocations: 119.9 kB / 1.358 GB, free: 10.02 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00411/0.681, allocations: 4.626 MB / 1.362 GB, free: 5.078 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.6812, allocations: 309.7 kB / 1.363 GB, free: 4.75 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0002508/0.6814, allocations: 104.7 kB / 1.363 GB, free: 4.648 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/0.6816, allocations: 211.4 kB / 1.363 GB, free: 4.441 MB / 1.042 GB Notification: Performance of SimCode: time 7.52e-07/0.6816, allocations: 0 / 1.363 GB, free: 4.441 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0872/0.7688, allocations: 11.64 MB / 1.374 GB, free: 9.078 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.022/7.791, allocations: 8 kB / 1.374 GB, free: 9.07 MB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_res.mat --stripRoot --tempDir=temp_Buildings_12_Buildings_Electrical_DC_Storage_Examples_Battery_fmu --startTime=0 --stopTime=432000 --stepSize=172.8 --mode=me --timeout=240 --tolerance=1e-06 ../Buildings_12_Buildings_Electrical_DC_Storage_Examples_Battery.fmu) > Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches (rm -f Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-cvode.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Buildings_12_Buildings_Electrical_DC_Storage_Examples_Battery_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=432000 --stepSize=172.8 --mode=cs --timeout=240 --tolerance=1e-06 ../Buildings_12_Buildings_Electrical_DC_Storage_Examples_Battery_OMSimulator-cs-cvode.fmu) > Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 filterSimulationResults("Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-cvode.diff.mat", vars={" bat.SOC"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery.ref.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-cvode.diff.ref.mat", vars={" bat.SOC"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] (rm -f Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-euler.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-euler.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Buildings_12_Buildings_Electrical_DC_Storage_Examples_Battery_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=432000 --stepSize=172.8 --mode=cs --timeout=240 --tolerance=1e-06 ../Buildings_12_Buildings_Electrical_DC_Storage_Examples_Battery_OMSimulator-cs-euler.fmu) > Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 filterSimulationResults("Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-euler.diff.mat", vars={" bat.SOC"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery.ref.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-euler.diff.ref.mat", vars={" bat.SOC"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] (rm -f Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy_res.csv --output-variables 'bat.terminal.i[1]' 'loa.i[1]' bat.SOC 'sou.S[1]' bat.P 'loa.S[1]' --start-time 0 --stop-time 432000 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 172.8 ../Buildings_12_Buildings_Electrical_DC_Storage_Examples_Battery.fmu) > Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.296139164827764]