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.001514/0.001514, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001052/0.001052, allocations: 221.3 kB / 22.25 MB, free: 3.578 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.071/1.071, allocations: 230.6 MB / 256 MB, free: 9.629 MB / 202.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.422/2.422, allocations: 0.5789 GB / 0.884 GB, free: 8.145 MB / 0.6667 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 0.001489/0.001489, allocations: 74.5 kB / 1.289 GB, free: 6.422 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3709, allocations: 198.9 MB / 1.483 GB, free: 4.77 MB / 1.151 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Storage.Examples.Battery): time 0.00453/0.3754, allocations: 4.101 MB / 1.487 GB, free: 0.6445 MB / 1.151 GB Notification: Performance of NFInst.instExpressions: time 0.002693/0.3781, allocations: 1.924 MB / 1.489 GB, free: 14.71 MB / 1.167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002919/0.3784, allocations: 19.88 kB / 1.489 GB, free: 14.69 MB / 1.167 GB Notification: Performance of NFTyping.typeComponents: time 0.0009279/0.3794, allocations: 409 kB / 1.489 GB, free: 14.29 MB / 1.167 GB Notification: Performance of NFTyping.typeBindings: time 0.0005312/0.3799, allocations: 234.5 kB / 1.489 GB, free: 14.06 MB / 1.167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008525/0.3807, allocations: 451.2 kB / 1.49 GB, free: 13.62 MB / 1.167 GB Notification: Performance of NFFlatten.flatten: time 0.0009112/0.3817, allocations: 0.9751 MB / 1.491 GB, free: 12.64 MB / 1.167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/0.3828, allocations: 0.8893 MB / 1.492 GB, free: 11.73 MB / 1.167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003785/0.3832, allocations: 362.8 kB / 1.492 GB, free: 11.38 MB / 1.167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005527/0.3838, allocations: 362.3 kB / 1.492 GB, free: 11.02 MB / 1.167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.3839, allocations: 84 kB / 1.492 GB, free: 10.94 MB / 1.167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000299/0.3842, allocations: 191.7 kB / 1.493 GB, free: 10.75 MB / 1.167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002078/0.3844, allocations: 231.3 kB / 1.493 GB, free: 10.53 MB / 1.167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002053/0.3846, allocations: 306.5 kB / 1.493 GB, free: 10.23 MB / 1.167 GB Notification: Performance of NFConvertDAE.convert: time 0.0009289/0.3855, allocations: 0.9726 MB / 1.494 GB, free: 9.25 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3855, allocations: 4 kB / 1.494 GB, free: 9.246 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.415e-06/0.3855, allocations: 0 / 1.494 GB, free: 9.246 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.509e-05/0.3855, allocations: 0 / 1.494 GB, free: 9.246 MB / 1.167 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.001281/0.3868, allocations: 0.9202 MB / 1.495 GB, free: 8.297 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.3869, allocations: 11.98 kB / 1.495 GB, free: 8.285 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001075/0.387, allocations: 122.9 kB / 1.495 GB, free: 8.156 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005992/0.3876, allocations: 140.4 kB / 1.495 GB, free: 8.02 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004882/0.3881, allocations: 378.8 kB / 1.496 GB, free: 7.621 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.095e-05/0.3881, allocations: 70.38 kB / 1.496 GB, free: 7.555 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.571e-05/0.3882, allocations: 80.36 kB / 1.496 GB, free: 7.477 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.3894, allocations: 0.9312 MB / 1.497 GB, free: 6.465 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.3894, allocations: 3.938 kB / 1.497 GB, free: 6.461 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.642e-05/0.3894, allocations: 35.97 kB / 1.497 GB, free: 6.426 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.006e-05/0.3895, allocations: 45.98 kB / 1.497 GB, free: 6.383 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00069/0.3902, allocations: 0.5659 MB / 1.497 GB, free: 5.812 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002869/0.393, allocations: 3.123 MB / 1.5 GB, free: 2.57 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005031/0.3935, allocations: 355.2 kB / 1.501 GB, free: 2.172 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/0.3938, allocations: 209 kB / 1.501 GB, free: 1.953 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.3938, allocations: 8.375 kB / 1.501 GB, free: 1.945 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003274/0.3942, allocations: 293 kB / 1.501 GB, free: 1.633 MB / 1.167 GB Notification: Performance of pre-optimization done (n=51): time 3.958e-06/0.3942, allocations: 3.984 kB / 1.501 GB, free: 1.629 MB / 1.167 GB Notification: Performance of matching and sorting (n=51): time 0.0006568/0.3948, allocations: 493.6 kB / 1.502 GB, free: 1.141 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.231e-05/0.3949, allocations: 195.9 kB / 1.502 GB, free: 0.9062 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003188/0.3952, allocations: 429.2 kB / 1.502 GB, free: 492 kB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/0.3953, allocations: 54.33 kB / 1.502 GB, free: 432 kB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.3954, allocations: 344.6 kB / 1.503 GB, free: 80 kB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 9.286e-05/0.3955, allocations: 147 kB / 1.503 GB, free: 15.93 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.3957, allocations: 170.5 kB / 1.503 GB, free: 15.75 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.3959, allocations: 362.8 kB / 1.503 GB, free: 15.39 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.3961, allocations: 164.8 kB / 1.503 GB, free: 15.23 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003138/0.3964, allocations: 463.8 kB / 1.504 GB, free: 14.66 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004667/0.3969, allocations: 0.5108 MB / 1.504 GB, free: 14.05 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3969, allocations: 4 kB / 1.504 GB, free: 14.05 MB / 1.182 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0006289/0.3975, allocations: 0.618 MB / 1.505 GB, free: 13.42 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.3975, allocations: 8 kB / 1.505 GB, free: 13.41 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.3975, allocations: 11.98 kB / 1.505 GB, free: 13.4 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.3976, allocations: 12 kB / 1.505 GB, free: 13.39 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.3978, allocations: 99.77 kB / 1.505 GB, free: 13.29 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.3978, allocations: 20.48 kB / 1.505 GB, free: 13.27 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.398, allocations: 83.44 kB / 1.505 GB, free: 13.19 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.398, allocations: 28 kB / 1.505 GB, free: 13.16 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003278/0.3983, allocations: 333.3 kB / 1.506 GB, free: 12.84 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003042/0.3986, allocations: 455.8 kB / 1.506 GB, free: 12.28 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004319/0.3991, allocations: 0.5186 MB / 1.506 GB, free: 11.66 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.938e-06/0.3991, allocations: 4 kB / 1.506 GB, free: 11.66 MB / 1.182 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.0005902/0.3997, allocations: 0.6143 MB / 1.507 GB, free: 11.04 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.3997, allocations: 13.97 kB / 1.507 GB, free: 11.03 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3997, allocations: 11.94 kB / 1.507 GB, free: 11.02 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.926e-06/0.3997, allocations: 12 kB / 1.507 GB, free: 11.01 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.3999, allocations: 95.77 kB / 1.507 GB, free: 10.91 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.3999, allocations: 19.92 kB / 1.507 GB, free: 10.89 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.4, allocations: 63.98 kB / 1.507 GB, free: 10.83 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.4001, allocations: 40 kB / 1.507 GB, free: 10.79 MB / 1.182 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.0001472/0.4002, allocations: 241.3 kB / 1.508 GB, free: 10.55 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/0.4003, allocations: 51.66 kB / 1.508 GB, free: 10.5 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.99e-05/0.4003, allocations: 56.7 kB / 1.508 GB, free: 10.44 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.4003, allocations: 11.98 kB / 1.508 GB, free: 10.43 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.4003, allocations: 0 / 1.508 GB, free: 10.43 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.4004, allocations: 4 kB / 1.508 GB, free: 10.43 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.4014, allocations: 1.086 MB / 1.509 GB, free: 9.273 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.4014, allocations: 4 kB / 1.509 GB, free: 9.27 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.4015, allocations: 43.92 kB / 1.509 GB, free: 9.227 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.4016, allocations: 4 kB / 1.509 GB, free: 9.223 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.4016, allocations: 11.98 kB / 1.509 GB, free: 9.211 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.4016, allocations: 8 kB / 1.509 GB, free: 9.203 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4016, allocations: 7.875 kB / 1.509 GB, free: 9.195 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006181/0.4022, allocations: 0.6823 MB / 1.509 GB, free: 8.469 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.4023, allocations: 83.61 kB / 1.51 GB, free: 8.387 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.4023, allocations: 12 kB / 1.51 GB, free: 8.375 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.4024, allocations: 19.98 kB / 1.51 GB, free: 8.355 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.783e-05/0.4025, allocations: 51.81 kB / 1.51 GB, free: 8.305 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.4026, allocations: 19.98 kB / 1.51 GB, free: 8.285 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.0002558/0.4028, allocations: 255.2 kB / 1.51 GB, free: 8.043 MB / 1.182 GB Notification: Performance of sort global known variables: time 6e-08/0.4028, allocations: 0 / 1.51 GB, free: 8.043 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.0005679/0.4034, allocations: 287.1 kB / 1.51 GB, free: 7.762 MB / 1.182 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.0008326/0.4042, allocations: 1.245 MB / 1.511 GB, free: 6.465 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.0008466/0.4051, allocations: 0.6899 MB / 1.512 GB, free: 5.777 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.4051, allocations: 0 / 1.512 GB, free: 5.777 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.4053, allocations: 181.5 kB / 1.512 GB, free: 5.602 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.4057, allocations: 116.1 kB / 1.512 GB, free: 5.488 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00427/0.41, allocations: 4.636 MB / 1.517 GB, free: 0.5352 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.4103, allocations: 317.6 kB / 1.517 GB, free: 204 kB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.0003019/0.4106, allocations: 104.7 kB / 1.517 GB, free: 100 kB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.4108, allocations: 211.4 kB / 1.517 GB, free: 15.89 MB / 1.198 GB Notification: Performance of SimCode: time 2.113e-06/0.4108, allocations: 0 / 1.517 GB, free: 15.89 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09366/0.5044, allocations: 11.62 MB / 1.529 GB, free: 4.527 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.537/8.041, allocations: 15.64 kB / 1.529 GB, free: 4.52 MB / 1.198 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: 14.498328293673694]