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.0009487/0.0009487, allocations: 80.45 kB / 19.96 MB, free: 4.605 MB / 18.57 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.0009585/0.0009585, allocations: 169.2 kB / 23.23 MB, free: 1.328 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 0.893/0.893, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.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.831/1.831, allocations: 378.2 MB / 0.6232 GB, free: 8.281 MB / 0.5886 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",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Storage.Examples.Battery,fileNamePrefix="Buildings_12_Buildings_Electrical_DC_Storage_Examples_Battery",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.9838 GB, free: 444 kB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.329e-05/1.461e-05, allocations: 2.281 kB / 0.9838 GB, free: 440 kB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Storage.Examples.Battery): time 0.004217/0.004232, allocations: 4.07 MB / 0.9878 GB, free: 12.34 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.00232/0.006552, allocations: 1.924 MB / 0.9897 GB, free: 10.41 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002057/0.006757, allocations: 23.88 kB / 0.9897 GB, free: 10.38 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.008133, allocations: 405.7 kB / 0.9901 GB, free: 9.988 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004321/0.008565, allocations: 246.2 kB / 0.9903 GB, free: 9.746 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006937/0.009259, allocations: 454.9 kB / 0.9907 GB, free: 9.301 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0009037/0.01016, allocations: 0.9789 MB / 0.9917 GB, free: 8.32 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.01118, allocations: 0.8969 MB / 0.9926 GB, free: 7.41 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004689/0.01165, allocations: 0.5223 MB / 0.9931 GB, free: 6.887 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004662/0.01211, allocations: 319 kB / 0.9934 GB, free: 6.574 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 9.345e-05/0.01221, allocations: 76 kB / 0.9935 GB, free: 6.5 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002663/0.01247, allocations: 191.6 kB / 0.9936 GB, free: 6.312 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.01265, allocations: 235.3 kB / 0.9939 GB, free: 6.082 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002213/0.01287, allocations: 259.3 kB / 0.9941 GB, free: 5.828 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009242/0.0138, allocations: 0.9928 MB / 0.9951 GB, free: 4.832 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.0138, allocations: 3.938 kB / 0.9951 GB, free: 4.828 MB / 0.948 GB Notification: Performance of FrontEnd: time 7.81e-07/0.0138, allocations: 0 / 0.9951 GB, free: 4.828 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.01381, allocations: 4 kB / 0.9951 GB, free: 4.824 MB / 0.948 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.001208/0.01502, allocations: 0.9047 MB / 0.996 GB, free: 3.887 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.01506, allocations: 15.97 kB / 0.996 GB, free: 3.871 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000118/0.01518, allocations: 118.9 kB / 0.9961 GB, free: 3.746 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006201/0.0158, allocations: 148.3 kB / 0.9962 GB, free: 3.602 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004997/0.0163, allocations: 386 kB / 0.9966 GB, free: 3.199 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.165e-05/0.01635, allocations: 58.38 kB / 0.9967 GB, free: 3.145 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003391/0.01669, allocations: 88.34 kB / 0.9967 GB, free: 3.059 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.01776, allocations: 0.9277 MB / 0.9977 GB, free: 2.055 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.01778, allocations: 192 / 0.9977 GB, free: 2.055 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.377e-05/0.01784, allocations: 40.11 kB / 0.9977 GB, free: 2.016 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.111e-05/0.01789, allocations: 45.98 kB / 0.9977 GB, free: 1.973 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007933/0.01868, allocations: 0.5659 MB / 0.9983 GB, free: 1.406 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002763/0.02144, allocations: 3.115 MB / 1.001 GB, free: 14.16 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005054/0.02195, allocations: 359.3 kB / 1.002 GB, free: 13.76 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003068/0.02226, allocations: 217 kB / 1.002 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.02228, allocations: 12.31 kB / 1.002 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00035/0.02263, allocations: 286.1 kB / 1.002 GB, free: 13.21 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=51): time 1.834e-06/0.02264, allocations: 0 / 1.002 GB, free: 13.21 MB / 0.9636 GB Notification: Performance of matching and sorting (n=51): time 0.0007196/0.02336, allocations: 496.9 kB / 1.003 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.905e-05/0.02343, allocations: 204 kB / 1.003 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003529/0.02379, allocations: 425.3 kB / 1.003 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/0.02383, allocations: 49.7 kB / 1.003 GB, free: 12 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004292/0.02426, allocations: 340.6 kB / 1.004 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.02436, allocations: 146.8 kB / 1.004 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001691/0.02453, allocations: 166.6 kB / 1.004 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.02464, allocations: 358.8 kB / 1.004 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/0.02489, allocations: 172.8 kB / 1.004 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003777/0.02527, allocations: 455.8 kB / 1.005 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005503/0.02582, allocations: 0.5186 MB / 1.005 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.02582, allocations: 4 kB / 1.005 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0007836/0.02661, allocations: 0.6138 MB / 1.006 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.02662, allocations: 8.938 kB / 1.006 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.02663, allocations: 4 kB / 1.006 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.02665, allocations: 15.94 kB / 1.006 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003966/0.02705, allocations: 103.8 kB / 1.006 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.707e-05/0.02707, allocations: 19.92 kB / 1.006 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.02731, allocations: 83.33 kB / 1.006 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.758e-05/0.02735, allocations: 36 kB / 1.006 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003822/0.02773, allocations: 326 kB / 1.007 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003725/0.0281, allocations: 455.8 kB / 1.007 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007677/0.02887, allocations: 0.5186 MB / 1.007 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.277e-06/0.02887, allocations: 0 / 1.007 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.0007542/0.02963, allocations: 0.6062 MB / 1.008 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.02964, allocations: 8 kB / 1.008 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.02965, allocations: 7.984 kB / 1.008 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.837e-06/0.02966, allocations: 12.75 kB / 1.008 GB, free: 6.621 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.02989, allocations: 103.7 kB / 1.008 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.0299, allocations: 19.94 kB / 1.008 GB, free: 6.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.03013, allocations: 67.61 kB / 1.008 GB, free: 6.434 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.03016, allocations: 28 kB / 1.008 GB, free: 6.406 MB / 0.9636 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.0001417/0.0303, allocations: 249.2 kB / 1.009 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.297e-05/0.03036, allocations: 55.61 kB / 1.009 GB, free: 6.098 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.032e-05/0.03043, allocations: 56.72 kB / 1.009 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.03043, allocations: 7.938 kB / 1.009 GB, free: 6.035 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.03044, allocations: 12 kB / 1.009 GB, free: 6.023 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.03045, allocations: 7.969 kB / 1.009 GB, free: 6.016 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.03165, allocations: 1.075 MB / 1.01 GB, free: 4.875 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.03165, allocations: 4 kB / 1.01 GB, free: 4.871 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.0318, allocations: 47.91 kB / 1.01 GB, free: 4.824 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.03181, allocations: 7.938 kB / 1.01 GB, free: 4.816 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.03183, allocations: 12 kB / 1.01 GB, free: 4.805 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.03183, allocations: 7.984 kB / 1.01 GB, free: 4.797 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.03184, allocations: 8.125 kB / 1.01 GB, free: 4.789 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008552/0.03269, allocations: 0.6725 MB / 1.01 GB, free: 4.074 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.03281, allocations: 79.53 kB / 1.011 GB, free: 3.996 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.576e-05/0.03288, allocations: 19.98 kB / 1.011 GB, free: 3.977 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.03303, allocations: 16 kB / 1.011 GB, free: 3.961 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.03313, allocations: 51.81 kB / 1.011 GB, free: 3.91 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.03316, allocations: 20 kB / 1.011 GB, free: 3.891 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002115/0.03337, allocations: 255.2 kB / 1.011 GB, free: 3.641 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.03337, allocations: 0 / 1.011 GB, free: 3.641 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0007171/0.03408, allocations: 283.2 kB / 1.011 GB, free: 3.363 MB / 0.9636 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.00103/0.03511, allocations: 1.25 MB / 1.012 GB, free: 2.066 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0008894/0.036, allocations: 0.6791 MB / 1.013 GB, free: 1.387 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.03601, allocations: 0.9375 kB / 1.013 GB, free: 1.387 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002496/0.03625, allocations: 188.3 kB / 1.013 GB, free: 1.203 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005271/0.03678, allocations: 123.2 kB / 1.013 GB, free: 1.09 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005324/0.04211, allocations: 4.625 MB / 1.018 GB, free: 12.14 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.04237, allocations: 309.7 kB / 1.018 GB, free: 11.81 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.000286/0.04266, allocations: 104.7 kB / 1.018 GB, free: 11.71 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002469/0.0429, allocations: 208.4 kB / 1.018 GB, free: 11.5 MB / 0.9792 GB Notification: Performance of SimCode: time 7.82e-07/0.0429, allocations: 4 kB / 1.018 GB, free: 11.5 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09766/0.1406, allocations: 11.72 MB / 1.03 GB, free: 68 kB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.944/8.084, allocations: 13.12 kB / 1.03 GB, free: 60 kB / 0.9792 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_res.mat --stripRoot --tempDir=temp_Buildings_12_Buildings_Electrical_DC_Storage_Examples_Battery_fmu --startTime=0 --stopTime=432000 --stepSize=172.8 --mode=me --timeout=240 --tolerance=1e-06 ../Buildings_12_Buildings_Electrical_DC_Storage_Examples_Battery.fmu) > Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches (rm -f Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-cvode.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Buildings_12_Buildings_Electrical_DC_Storage_Examples_Battery_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=432000 --stepSize=172.8 --mode=cs --timeout=240 --tolerance=1e-06 ../Buildings_12_Buildings_Electrical_DC_Storage_Examples_Battery_OMSimulator-cs-cvode.fmu) > Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,bat.terminal.i[1],loa.i[1],bat.SOC,sou.S[1],bat.P,loa.S[1] Variables in the result:PCha.k,PCha.y,PDis.k,PDis.y,POff.k,POff.y,add.k1,add.k2,add.u1,add.u2,add.y,bat.EMax,bat.P,bat.SOC,bat.SOC_start,bat.V_nominal,bat.cha.SOC,bat.etaCha,bat.etaDis,bat.terminal.i[1],bat.terminal.i[2],bat.terminal.v[1],bat.terminal.v[2],chaSwi.u1,chaSwi.u2,chaSwi.u3,chaSwi.y,charge.active,charge.inPort[1].occupied,charge.inPort[1].set,charge.localActive,charge.nIn,charge.nOut,charge.outPort[1].available,charge.outPort[1].reset,const1.k,const1.y,der(bat.cha.SOC),disSwi.u1,disSwi.u2,disSwi.u3,disSwi.y,discharge.active,discharge.inPort[1].occupied,discharge.inPort[1].set,discharge.localActive,discharge.nIn,discharge.nOut,discharge.outPort[1].available,discharge.outPort[1].reset,greaterEqualThreshold.threshold,greaterEqualThreshold.u,greaterEqualThreshold.y,ground.p.i,ground.p.v,hold.active,hold.inPort[1].occupied,hold.inPort[1].set,hold.localActive,hold.nIn,hold.nOut,hold.outPort[1].available,hold.outPort[1].reset,lessEqualThreshold.threshold,lessEqualThreshold.u,lessEqualThreshold.y,loa.P,loa.P_nominal,loa.Pow,loa.S[1],loa.S[2],loa.V_nominal,loa.i[1],loa.i[2],loa.initMode,loa.linearized,loa.mode,loa.terminal.i[1],loa.terminal.i[2],loa.terminal.v[1],loa.terminal.v[2],loa.v[1],loa.v[2],off.active,off.inPort[1].occupied,off.inPort[1].set,off.localActive,off.nIn,off.nOut,off.outPort[1].available,off.outPort[1].reset,powSen.I,powSen.P,powSen.V,powSen.terminal_n.i[1],powSen.terminal_n.i[2],powSen.terminal_n.v[1],powSen.terminal_n.v[2],powSen.terminal_p.i[1],powSen.terminal_p.i[2],powSen.terminal_p.v[1],powSen.terminal_p.v[2],sou.S[1],sou.S[2],sou.V,sou.definiteReference,sou.n.i,sou.n.v,sou.phi,sou.potentialReference,sou.terminal.i[1],sou.terminal.i[2],sou.terminal.v[1],sou.terminal.v[2],startCharge.period,startCharge.startTime,startCharge.y,startDischarge.period,startDischarge.startTime,startDischarge.y,stateGraphRoot.activeSteps,stateGraphRoot.resume,stateGraphRoot.subgraphStatePort.activeSteps,stateGraphRoot.subgraphStatePort.activeStepsDummy,stateGraphRoot.subgraphStatePort.resume,stateGraphRoot.subgraphStatePort.suspend,stateGraphRoot.suspend,time,toDischarge.condition,toDischarge.enableFire,toDischarge.enableTimer,toDischarge.fire,toDischarge.inPort.available,toDischarge.inPort.reset,toDischarge.localCondition,toDischarge.outPort.occupied,toDischarge.outPort.set,toDischarge.t,toDischarge.waitTime,toHold.condition,toHold.enableFire,toHold.enableTimer,toHold.fire,toHold.inPort.available,toHold.inPort.reset,toHold.localCondition,toHold.outPort.occupied,toHold.outPort.set,toHold.t,toHold.waitTime,toOff.condition,toOff.enableFire,toOff.enableTimer,toOff.fire,toOff.inPort.available,toOff.inPort.reset,toOff.localCondition,toOff.outPort.occupied,toOff.outPort.set,toOff.t,toOff.waitTime,toOn.condition,toOn.enableFire,toOn.enableTimer,toOn.fire,toOn.inPort.available,toOn.inPort.reset,toOn.localCondition,toOn.outPort.occupied,toOn.outPort.set,toOn.t,toOn.waitTime filterSimulationResults("Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-cvode.diff.mat", vars={" bat.SOC"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery.ref.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-cvode.diff.ref.mat", vars={" bat.SOC"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] (rm -f Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-euler.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-euler.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Buildings_12_Buildings_Electrical_DC_Storage_Examples_Battery_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=432000 --stepSize=172.8 --mode=cs --timeout=240 --tolerance=1e-06 ../Buildings_12_Buildings_Electrical_DC_Storage_Examples_Battery_OMSimulator-cs-euler.fmu) > Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,bat.terminal.i[1],loa.i[1],bat.SOC,sou.S[1],bat.P,loa.S[1] Variables in the result:PCha.k,PCha.y,PDis.k,PDis.y,POff.k,POff.y,add.k1,add.k2,add.u1,add.u2,add.y,bat.EMax,bat.P,bat.SOC,bat.SOC_start,bat.V_nominal,bat.cha.SOC,bat.etaCha,bat.etaDis,bat.terminal.i[1],bat.terminal.i[2],bat.terminal.v[1],bat.terminal.v[2],chaSwi.u1,chaSwi.u2,chaSwi.u3,chaSwi.y,charge.active,charge.inPort[1].occupied,charge.inPort[1].set,charge.localActive,charge.nIn,charge.nOut,charge.outPort[1].available,charge.outPort[1].reset,const1.k,const1.y,der(bat.cha.SOC),disSwi.u1,disSwi.u2,disSwi.u3,disSwi.y,discharge.active,discharge.inPort[1].occupied,discharge.inPort[1].set,discharge.localActive,discharge.nIn,discharge.nOut,discharge.outPort[1].available,discharge.outPort[1].reset,greaterEqualThreshold.threshold,greaterEqualThreshold.u,greaterEqualThreshold.y,ground.p.i,ground.p.v,hold.active,hold.inPort[1].occupied,hold.inPort[1].set,hold.localActive,hold.nIn,hold.nOut,hold.outPort[1].available,hold.outPort[1].reset,lessEqualThreshold.threshold,lessEqualThreshold.u,lessEqualThreshold.y,loa.P,loa.P_nominal,loa.Pow,loa.S[1],loa.S[2],loa.V_nominal,loa.i[1],loa.i[2],loa.initMode,loa.linearized,loa.mode,loa.terminal.i[1],loa.terminal.i[2],loa.terminal.v[1],loa.terminal.v[2],loa.v[1],loa.v[2],off.active,off.inPort[1].occupied,off.inPort[1].set,off.localActive,off.nIn,off.nOut,off.outPort[1].available,off.outPort[1].reset,powSen.I,powSen.P,powSen.V,powSen.terminal_n.i[1],powSen.terminal_n.i[2],powSen.terminal_n.v[1],powSen.terminal_n.v[2],powSen.terminal_p.i[1],powSen.terminal_p.i[2],powSen.terminal_p.v[1],powSen.terminal_p.v[2],sou.S[1],sou.S[2],sou.V,sou.definiteReference,sou.n.i,sou.n.v,sou.phi,sou.potentialReference,sou.terminal.i[1],sou.terminal.i[2],sou.terminal.v[1],sou.terminal.v[2],startCharge.period,startCharge.startTime,startCharge.y,startDischarge.period,startDischarge.startTime,startDischarge.y,stateGraphRoot.activeSteps,stateGraphRoot.resume,stateGraphRoot.subgraphStatePort.activeSteps,stateGraphRoot.subgraphStatePort.activeStepsDummy,stateGraphRoot.subgraphStatePort.resume,stateGraphRoot.subgraphStatePort.suspend,stateGraphRoot.suspend,time,toDischarge.condition,toDischarge.enableFire,toDischarge.enableTimer,toDischarge.fire,toDischarge.inPort.available,toDischarge.inPort.reset,toDischarge.localCondition,toDischarge.outPort.occupied,toDischarge.outPort.set,toDischarge.t,toDischarge.waitTime,toHold.condition,toHold.enableFire,toHold.enableTimer,toHold.fire,toHold.inPort.available,toHold.inPort.reset,toHold.localCondition,toHold.outPort.occupied,toHold.outPort.set,toHold.t,toHold.waitTime,toOff.condition,toOff.enableFire,toOff.enableTimer,toOff.fire,toOff.inPort.available,toOff.inPort.reset,toOff.localCondition,toOff.outPort.occupied,toOff.outPort.set,toOff.t,toOff.waitTime,toOn.condition,toOn.enableFire,toOn.enableTimer,toOn.fire,toOn.inPort.available,toOn.inPort.reset,toOn.localCondition,toOn.outPort.occupied,toOn.outPort.set,toOn.t,toOn.waitTime filterSimulationResults("Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-euler.diff.mat", vars={" bat.SOC"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery.ref.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-euler.diff.ref.mat", vars={" bat.SOC"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] (rm -f Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy_res.csv --output-variables 'bat.terminal.i[1]' 'loa.i[1]' bat.SOC 'sou.S[1]' bat.P 'loa.S[1]' --start-time 0 --stop-time 432000 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 172.8 ../Buildings_12_Buildings_Electrical_DC_Storage_Examples_Battery.fmu) > Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery/Buildings_12_Buildings.Electrical.DC.Storage.Examples.Battery.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.137060157954693]