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.0007203/0.0007203, allocations: 76.27 kB / 9.879 MB, free: 0.8203 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009912/0.001711, allocations: 449.6 kB / 10.32 MB, free: 392 kB / 10.45 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.0007062/0.0007062, allocations: 150 kB / 11.2 MB, free: 2.98 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008875/0.001594, allocations: 475.5 kB / 11.66 MB, free: 2.512 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 0.9687/0.9687, allocations: 177.1 MB / 189.5 MB, free: 3.766 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1373/1.106, allocations: 53.65 MB / 243.2 MB, free: 2.367 MB / 234.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 1.801/1.801, allocations: 378.2 MB / 0.6076 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1714/1.973, allocations: 123.3 MB / 0.728 GB, free: 12.99 MB / 0.7136 GB " [Timeout remaining time 178] 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+3.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+3.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.7292 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.337e-06/1.077e-05, allocations: 2.312 kB / 0.7292 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Storage.Examples.Battery): time 0.003383/0.003393, allocations: 3.605 MB / 0.7327 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001841/0.005234, allocations: 1.581 MB / 0.7343 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000167/0.005401, allocations: 23.81 kB / 0.7343 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0003743/0.005775, allocations: 178.6 kB / 0.7345 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002588/0.006034, allocations: 230.3 kB / 0.7347 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005064/0.00654, allocations: 455 kB / 0.7351 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006776/0.007218, allocations: 1.01 MB / 0.7361 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000681/0.007899, allocations: 0.8835 MB / 0.737 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000377/0.008276, allocations: 0.5428 MB / 0.7375 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003614/0.008637, allocations: 339 kB / 0.7378 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.901e-05/0.008706, allocations: 76 kB / 0.7379 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.008886, allocations: 151.7 kB / 0.738 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.009004, allocations: 187.5 kB / 0.7382 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.009152, allocations: 199.6 kB / 0.7384 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005053/0.009658, allocations: 0.6031 MB / 0.739 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.009666, allocations: 0 / 0.739 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.32e-07/0.009667, allocations: 0 / 0.739 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.009679, allocations: 0 / 0.739 GB, free: 1.668 MB / 0.7136 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.0008592/0.01054, allocations: 0.8716 MB / 0.7398 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.01057, allocations: 8.031 kB / 0.7398 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.175e-05/0.01065, allocations: 122.8 kB / 0.74 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006366/0.01129, allocations: 281.8 kB / 0.7402 GB, free: 344 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.01161, allocations: 312.1 kB / 0.7405 GB, free: 4 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.218e-05/0.01166, allocations: 62.42 kB / 0.7406 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.564e-05/0.01173, allocations: 84.31 kB / 0.7407 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005373/0.01226, allocations: 0.685 MB / 0.7413 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.01228, allocations: 4.125 kB / 0.7413 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.805e-05/0.01232, allocations: 40.12 kB / 0.7414 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-05/0.01236, allocations: 45.98 kB / 0.7414 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/0.01261, allocations: 217.6 kB / 0.7416 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.01446, allocations: 2.765 MB / 0.7443 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.01471, allocations: 233.6 kB / 0.7446 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.01485, allocations: 141.3 kB / 0.7447 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.01488, allocations: 11.94 kB / 0.7447 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001969/0.01508, allocations: 233 kB / 0.7449 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=51): time 1.603e-06/0.01508, allocations: 0 / 0.7449 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of matching and sorting (n=51): time 0.0002991/0.01538, allocations: 264.9 kB / 0.7452 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.01544, allocations: 200.4 kB / 0.7454 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.01564, allocations: 394.8 kB / 0.7457 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.01568, allocations: 53.7 kB / 0.7458 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.0158, allocations: 309.2 kB / 0.7461 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.509e-05/0.01588, allocations: 150.8 kB / 0.7462 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.016, allocations: 166.5 kB / 0.7464 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.622e-05/0.01608, allocations: 366.7 kB / 0.7467 GB, free: 9.27 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.641e-05/0.01616, allocations: 72.83 kB / 0.7468 GB, free: 9.195 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003063/0.01647, allocations: 333.2 kB / 0.7471 GB, free: 8.762 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.01675, allocations: 433.4 kB / 0.7475 GB, free: 8.242 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/0.01676, allocations: 4 kB / 0.7475 GB, free: 8.238 MB / 0.7292 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0003462/0.0171, allocations: 397.9 kB / 0.7479 GB, free: 7.84 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.01711, allocations: 8 kB / 0.7479 GB, free: 7.832 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.01712, allocations: 8 kB / 0.7479 GB, free: 7.824 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.01714, allocations: 12.78 kB / 0.748 GB, free: 7.812 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.01737, allocations: 123.8 kB / 0.7481 GB, free: 7.691 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.01738, allocations: 15.92 kB / 0.7481 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.01753, allocations: 83.41 kB / 0.7482 GB, free: 7.594 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.01755, allocations: 28 kB / 0.7482 GB, free: 7.566 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001334/0.01769, allocations: 168.9 kB / 0.7484 GB, free: 7.398 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001692/0.01786, allocations: 329.2 kB / 0.7487 GB, free: 6.973 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002604/0.01812, allocations: 410.9 kB / 0.7491 GB, free: 6.473 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.266e-06/0.01812, allocations: 4 kB / 0.7491 GB, free: 6.469 MB / 0.7292 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.000337/0.01846, allocations: 402 kB / 0.7494 GB, free: 6.07 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.955e-06/0.01846, allocations: 8 kB / 0.7495 GB, free: 6.062 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.01847, allocations: 4 kB / 0.7495 GB, free: 6.059 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.014e-06/0.01848, allocations: 12 kB / 0.7495 GB, free: 6.047 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.01867, allocations: 124.4 kB / 0.7496 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.01868, allocations: 19.88 kB / 0.7496 GB, free: 5.906 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.01882, allocations: 67.55 kB / 0.7497 GB, free: 5.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.01884, allocations: 28 kB / 0.7497 GB, free: 5.812 MB / 0.7292 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.suspend,stateGraphRoot.resume) * 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.000107/0.01895, allocations: 249.2 kB / 0.7499 GB, free: 5.559 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.01899, allocations: 43.95 kB / 0.75 GB, free: 5.516 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.74e-05/0.01905, allocations: 56.72 kB / 0.75 GB, free: 5.457 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.01905, allocations: 8 kB / 0.75 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.01906, allocations: 7.922 kB / 0.75 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.01906, allocations: 4 kB / 0.75 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007271/0.01979, allocations: 0.9085 MB / 0.7509 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.01979, allocations: 0 / 0.7509 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.01991, allocations: 55.91 kB / 0.751 GB, free: 4.406 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.01992, allocations: 4 kB / 0.751 GB, free: 4.402 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.01993, allocations: 15.98 kB / 0.751 GB, free: 4.387 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.227e-06/0.01994, allocations: 4 kB / 0.751 GB, free: 4.383 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.01994, allocations: 7.938 kB / 0.751 GB, free: 4.375 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/0.02028, allocations: 494.9 kB / 0.7515 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.387e-05/0.02035, allocations: 63.52 kB / 0.7516 GB, free: 3.785 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.02039, allocations: 15.98 kB / 0.7516 GB, free: 3.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.297e-05/0.02048, allocations: 16 kB / 0.7516 GB, free: 3.754 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.552e-05/0.02055, allocations: 47.86 kB / 0.7516 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.02056, allocations: 12 kB / 0.7516 GB, free: 3.695 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.136e-05/0.02064, allocations: 128.7 kB / 0.7518 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.02064, allocations: 4 kB / 0.7518 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004142/0.02106, allocations: 283.2 kB / 0.752 GB, free: 3.289 MB / 0.7292 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.000475/0.02153, allocations: 0.9696 MB / 0.753 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004282/0.02196, allocations: 0.5127 MB / 0.7535 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/0.02197, allocations: 8.875 kB / 0.7535 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002346/0.0222, allocations: 126.2 kB / 0.7536 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.02252, allocations: 121.2 kB / 0.7537 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.02476, allocations: 2.685 MB / 0.7564 GB, free: 14.62 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.606e-05/0.02485, allocations: 155.7 kB / 0.7565 GB, free: 14.45 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 0.0001728/0.02502, allocations: 80.72 kB / 0.7566 GB, free: 14.37 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002933/0.02531, allocations: 317.2 kB / 0.7569 GB, free: 14.06 MB / 0.7449 GB Notification: Performance of SimCode: time 7.01e-07/0.02531, allocations: 4 kB / 0.7569 GB, free: 14.05 MB / 0.7449 GB Notification: Performance of FMU documentation: time 0.03054/0.05585, allocations: 14.63 MB / 0.7712 GB, free: 15.5 MB / 0.7605 GB Notification: FMU-only work: backend 0.0003852, simCode 0.001002, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06784/0.1237, allocations: 1.363 MB / 0.7725 GB, free: 14.07 MB / 0.7605 GB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 2.51/2.633, allocations: 19.25 kB / 0.7725 GB, free: 14.06 MB / 0.7605 GB " [Timeout remaining time 297] (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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Storage_Examples_Battery.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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Storage_Examples_Battery.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-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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Storage_Examples_Battery.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_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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Storage_Examples_Battery.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_fmpy-fmi3-cs-cvode.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 432000 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 172.8 ../Buildings_12_Buildings_Electrical_DC_Storage_Examples_Battery_fmpy-fmi3-cs-cvode.fmu) > Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Storage_Examples_Battery.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable bat.terminal.i[1] in file Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable bat.terminal.i[1] from file Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable loa.i[1] in file Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable loa.i[1] from file Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable bat.SOC in file Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable bat.SOC from file Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable sou.S[1] in file Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable sou.S[1] from file Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable bat.P in file Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable bat.P from file Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable loa.S[1] in file Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable loa.S[1] from file Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode_res.csv failed! " [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:time,bat.cha.SOC filterSimulationResults("Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode.diff.mat", vars={"loa.S[1]", "bat.P", "sou.S[1]", "bat.SOC", "loa.i[1]", "bat.terminal.i[1]"}, removeDescription=false) [Timeout 300] "Error: Could not read variable loa.S[1] in file Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 300] Failed to write the differing variables of Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Storage_Examples_Battery.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode.diff.ref.mat", vars={"loa.S[1]", "bat.P", "sou.S[1]", "bat.SOC", "loa.i[1]", "bat.terminal.i[1]"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 7.400144377723336]