Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.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.001071/0.001071, allocations: 84.44 kB / 19.17 MB, free: 0.7422 MB / 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.001207/0.001207, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.017/1.017, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.379/2.379, allocations: 446.7 MB / 0.6894 GB, free: 6.594 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_Buildings_Electrical_DC_Storage_Examples_Battery",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Storage.Examples.Battery,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Storage_Examples_Battery",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 1.094 GB, free: 19.41 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/2.04e-05, allocations: 2.281 kB / 1.094 GB, free: 19.41 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Storage.Examples.Battery): time 0.004404/0.004425, allocations: 4.061 MB / 1.098 GB, free: 16.79 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.002827/0.007252, allocations: 1.93 MB / 1.1 GB, free: 15.52 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004078/0.00766, allocations: 24.34 kB / 1.1 GB, free: 15.51 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0008596/0.008519, allocations: 393.4 kB / 1.1 GB, free: 15.28 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0005953/0.009115, allocations: 251.4 kB / 1.101 GB, free: 15.12 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.0102, allocations: 451.1 kB / 1.101 GB, free: 14.89 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001303/0.0115, allocations: 0.9858 MB / 1.102 GB, free: 14.43 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001345/0.01285, allocations: 0.8975 MB / 1.103 GB, free: 13.97 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006152/0.01346, allocations: 0.5171 MB / 1.103 GB, free: 13.73 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005941/0.01406, allocations: 319.9 kB / 1.104 GB, free: 13.62 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.01417, allocations: 80.94 kB / 1.104 GB, free: 13.61 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004103/0.01458, allocations: 195 kB / 1.104 GB, free: 13.57 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.01476, allocations: 235.8 kB / 1.104 GB, free: 13.43 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002312/0.01499, allocations: 251.3 kB / 1.104 GB, free: 13.31 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001222/0.01622, allocations: 0.9944 MB / 1.105 GB, free: 12.9 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.01622, allocations: 0 / 1.105 GB, free: 12.9 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.165e-06/0.01622, allocations: 0 / 1.105 GB, free: 12.9 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.009e-05/0.01624, allocations: 0 / 1.105 GB, free: 12.9 MB / 1.01 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.001448/0.01769, allocations: 0.9089 MB / 1.106 GB, free: 12.27 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 6.229e-05/0.01775, allocations: 10.03 kB / 1.106 GB, free: 12.27 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001327/0.01789, allocations: 128.6 kB / 1.106 GB, free: 12.18 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006861/0.01857, allocations: 144.3 kB / 1.107 GB, free: 12.13 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005438/0.01912, allocations: 382.2 kB / 1.107 GB, free: 11.86 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.659e-05/0.01917, allocations: 65.91 kB / 1.107 GB, free: 11.83 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.179e-05/0.01927, allocations: 82.47 kB / 1.107 GB, free: 11.8 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.02034, allocations: 0.9265 MB / 1.108 GB, free: 11.29 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.02036, allocations: 1.531 kB / 1.108 GB, free: 11.29 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.681e-05/0.02041, allocations: 38.36 kB / 1.108 GB, free: 11.26 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.029e-05/0.02047, allocations: 45.95 kB / 1.108 GB, free: 11.25 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007648/0.02123, allocations: 0.5693 MB / 1.109 GB, free: 11.04 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002675/0.02391, allocations: 3.125 MB / 1.112 GB, free: 8.605 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005474/0.02446, allocations: 361.3 kB / 1.112 GB, free: 8.383 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003315/0.02479, allocations: 207.4 kB / 1.112 GB, free: 8.281 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 3.633e-05/0.02482, allocations: 7.906 kB / 1.112 GB, free: 8.281 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003708/0.0252, allocations: 290.7 kB / 1.112 GB, free: 8.113 MB / 1.01 GB Notification: Performance of pre-optimization done (n=51): time 2.174e-06/0.0252, allocations: 0 / 1.112 GB, free: 8.113 MB / 1.01 GB Notification: Performance of matching and sorting (n=51): time 0.0007428/0.02594, allocations: 499.8 kB / 1.113 GB, free: 7.91 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.026, allocations: 194.7 kB / 1.113 GB, free: 7.688 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004042/0.0264, allocations: 439.5 kB / 1.114 GB, free: 7.453 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.38e-05/0.02645, allocations: 53.81 kB / 1.114 GB, free: 7.406 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.02664, allocations: 334.9 kB / 1.114 GB, free: 7.141 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 8.953e-05/0.02672, allocations: 150.8 kB / 1.114 GB, free: 7.023 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.02691, allocations: 164.8 kB / 1.114 GB, free: 6.941 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.158e-05/0.02698, allocations: 363.5 kB / 1.115 GB, free: 6.605 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.02721, allocations: 165.4 kB / 1.115 GB, free: 6.543 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003081/0.02752, allocations: 461.7 kB / 1.115 GB, free: 6.129 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004765/0.028, allocations: 0.5199 MB / 1.116 GB, free: 5.703 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.028, allocations: 2.344 kB / 1.116 GB, free: 5.703 MB / 1.01 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0006947/0.0287, allocations: 0.609 MB / 1.116 GB, free: 5.445 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.02872, allocations: 7.969 kB / 1.116 GB, free: 5.445 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.02873, allocations: 8.25 kB / 1.116 GB, free: 5.445 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/0.02876, allocations: 16.09 kB / 1.116 GB, free: 5.441 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.029, allocations: 106.6 kB / 1.116 GB, free: 5.418 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-05/0.02902, allocations: 20.59 kB / 1.116 GB, free: 5.41 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.02927, allocations: 81.5 kB / 1.117 GB, free: 5.355 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.0293, allocations: 30.33 kB / 1.117 GB, free: 5.352 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004014/0.0297, allocations: 326.6 kB / 1.117 GB, free: 5.176 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000297/0.03, allocations: 461.3 kB / 1.117 GB, free: 4.758 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004354/0.03043, allocations: 0.5172 MB / 1.118 GB, free: 4.34 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.456e-06/0.03043, allocations: 2.719 kB / 1.118 GB, free: 4.34 MB / 1.01 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.000663/0.0311, allocations: 0.6028 MB / 1.118 GB, free: 4.078 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.03111, allocations: 10.38 kB / 1.118 GB, free: 4.078 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.03112, allocations: 8.547 kB / 1.118 GB, free: 4.078 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.03113, allocations: 10.66 kB / 1.118 GB, free: 4.078 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.03135, allocations: 107.2 kB / 1.119 GB, free: 4.055 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.03136, allocations: 17.5 kB / 1.119 GB, free: 4.051 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.03158, allocations: 63.06 kB / 1.119 GB, free: 4.012 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/0.03161, allocations: 33.22 kB / 1.119 GB, free: 4.004 MB / 1.01 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.0001691/0.03178, allocations: 251 kB / 1.119 GB, free: 3.777 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.532e-05/0.03184, allocations: 51.41 kB / 1.119 GB, free: 3.75 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.727e-05/0.03192, allocations: 54.53 kB / 1.119 GB, free: 3.711 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.03193, allocations: 15.33 kB / 1.119 GB, free: 3.703 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/0.03194, allocations: 5.906 kB / 1.119 GB, free: 3.699 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.03195, allocations: 3.672 kB / 1.119 GB, free: 3.699 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.03322, allocations: 1.079 MB / 1.12 GB, free: 3.031 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.03322, allocations: 3.297 kB / 1.12 GB, free: 3.031 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.03337, allocations: 50.73 kB / 1.12 GB, free: 3.02 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/0.03338, allocations: 5.031 kB / 1.12 GB, free: 3.02 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.0334, allocations: 14.09 kB / 1.12 GB, free: 3.012 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/0.03341, allocations: 8.922 kB / 1.12 GB, free: 3.008 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.03341, allocations: 6.906 kB / 1.12 GB, free: 3.004 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006752/0.03409, allocations: 0.6765 MB / 1.121 GB, free: 2.602 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.03421, allocations: 79.72 kB / 1.121 GB, free: 2.555 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/0.03426, allocations: 16.78 kB / 1.121 GB, free: 2.547 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.03437, allocations: 12.17 kB / 1.121 GB, free: 2.543 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.03449, allocations: 54.66 kB / 1.121 GB, free: 2.527 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.03451, allocations: 19.45 kB / 1.121 GB, free: 2.523 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002038/0.03471, allocations: 258.5 kB / 1.121 GB, free: 2.391 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.03471, allocations: 0 / 1.121 GB, free: 2.391 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007236/0.03544, allocations: 285.2 kB / 1.121 GB, free: 2.297 MB / 1.01 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.0007926/0.03623, allocations: 1.248 MB / 1.123 GB, free: 1.355 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0009983/0.03723, allocations: 0.6918 MB / 1.123 GB, free: 1.121 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.03723, allocations: 0 / 1.123 GB, free: 1.121 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000225/0.03746, allocations: 183.7 kB / 1.124 GB, free: 1.059 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00049/0.03795, allocations: 112 kB / 1.124 GB, free: 1.012 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005172/0.04312, allocations: 4.624 MB / 1.128 GB, free: 13.99 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.04342, allocations: 311.5 kB / 1.128 GB, free: 13.88 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0003589/0.04378, allocations: 101.4 kB / 1.129 GB, free: 13.86 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.044, allocations: 209.9 kB / 1.129 GB, free: 13.71 MB / 1.026 GB Notification: Performance of SimCode: time 1.272e-06/0.044, allocations: 0 / 1.129 GB, free: 13.71 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1022/0.1462, allocations: 11.73 MB / 1.14 GB, free: 11.91 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.737/7.884, allocations: 12.92 kB / 1.14 GB, free: 11.91 MB / 1.026 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_res.mat --stripRoot --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Storage_Examples_Battery_fmu --startTime=0 --stopTime=432000 --stepSize=172.8 --mode=me --timeout=240 --tolerance=1e-06 ../Buildings_latest_Buildings_Electrical_DC_Storage_Examples_Battery.fmu) > Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery/Buildings_latest_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_latest_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-cvode.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Buildings_latest_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_latest_Buildings_Electrical_DC_Storage_Examples_Battery_OMSimulator-cs-cvode.fmu) > Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery/Buildings_latest_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_latest_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Electrical.DC.Storage.Examples.Battery/Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery.ref.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-euler.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-euler.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Buildings_latest_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_latest_Buildings_Electrical_DC_Storage_Examples_Battery_OMSimulator-cs-euler.fmu) > Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery/Buildings_latest_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_latest_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Electrical.DC.Storage.Examples.Battery/Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery.ref.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_latest_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_latest_Buildings_Electrical_DC_Storage_Examples_Battery.fmu) > Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery/Buildings_latest_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.94337181467563]