Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl.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.001108/0.001108, allocations: 72.27 kB / 9.851 MB, free: 0.8477 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001618/0.002726, allocations: 447.7 kB / 10.29 MB, free: 420 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 149.9 kB / 11.17 MB, free: 3.008 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001492/0.002634, allocations: 480.2 kB / 11.64 MB, free: 2.535 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9783/0.9783, allocations: 177.1 MB / 189.5 MB, free: 3.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2014/1.18, allocations: 53.66 MB / 243.2 MB, free: 2.387 MB / 234.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.185/2.185, allocations: 440.5 MB / 0.6684 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5559/2.741, allocations: 143.9 MB / 0.8088 GB, free: 6.289 MB / 0.7761 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.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_BatteryControl",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_BatteryControl",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 0.8101 GB, free: 5.301 MB / 0.7761 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.562e-05/1.672e-05, allocations: 3.516 kB / 0.8101 GB, free: 5.297 MB / 0.7761 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl): time 0.002839/0.002856, allocations: 2.361 MB / 0.8124 GB, free: 3.453 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.004159, allocations: 1.013 MB / 0.8134 GB, free: 2.656 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.004307, allocations: 11.66 kB / 0.8134 GB, free: 2.652 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.004426, allocations: 66 kB / 0.8135 GB, free: 2.598 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.004576, allocations: 55.61 kB / 0.8135 GB, free: 2.555 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004584/0.005034, allocations: 300 kB / 0.8138 GB, free: 2.309 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005255/0.00556, allocations: 0.6546 MB / 0.8144 GB, free: 1.922 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004238/0.005984, allocations: 382.2 kB / 0.8148 GB, free: 1.648 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003219/0.006305, allocations: 348.3 kB / 0.8151 GB, free: 1.414 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.006505, allocations: 175.6 kB / 0.8153 GB, free: 1.289 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.243e-05/0.006567, allocations: 67.62 kB / 0.8154 GB, free: 1.289 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.006703, allocations: 85.02 kB / 0.8154 GB, free: 1.281 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.00682, allocations: 125 kB / 0.8156 GB, free: 1.25 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.006943, allocations: 133.5 kB / 0.8157 GB, free: 1.23 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004157/0.007359, allocations: 420.3 kB / 0.8161 GB, free: 0.9922 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.279e-05/0.007372, allocations: 1.5 kB / 0.8161 GB, free: 0.9922 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.322e-06/0.007373, allocations: 0 / 0.8161 GB, free: 0.9922 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.007386, allocations: 0 / 0.8161 GB, free: 0.9922 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.0006805/0.008066, allocations: 0.64 MB / 0.8167 GB, free: 480 kB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.008101, allocations: 11.22 kB / 0.8167 GB, free: 480 kB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.623e-05/0.008167, allocations: 94.22 kB / 0.8168 GB, free: 392 kB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003392/0.008506, allocations: 193.4 kB / 0.817 GB, free: 248 kB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.008743, allocations: 224 kB / 0.8172 GB, free: 44 kB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.948e-05/0.008782, allocations: 46.34 kB / 0.8173 GB, free: 24 kB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.717e-05/0.008829, allocations: 56.62 kB / 0.8173 GB, free: 8 kB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004314/0.009261, allocations: 425.8 kB / 0.8177 GB, free: 15.71 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.009275, allocations: 1.625 kB / 0.8177 GB, free: 15.71 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.009301, allocations: 25.38 kB / 0.8177 GB, free: 15.69 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.537e-05/0.009327, allocations: 22.97 kB / 0.8178 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.009537, allocations: 146.9 kB / 0.8179 GB, free: 15.65 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.01073, allocations: 1.458 MB / 0.8193 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.011, allocations: 272.7 kB / 0.8196 GB, free: 14.27 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.017e-05/0.01109, allocations: 91.53 kB / 0.8197 GB, free: 14.22 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.998e-05/0.01113, allocations: 13.91 kB / 0.8197 GB, free: 14.22 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.01132, allocations: 203.2 kB / 0.8199 GB, free: 14.06 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=48): time 1.954e-06/0.01132, allocations: 0 / 0.8199 GB, free: 14.06 MB / 0.7917 GB Notification: Performance of matching and sorting (n=48): time 0.0002981/0.01162, allocations: 249.5 kB / 0.8201 GB, free: 13.97 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.01167, allocations: 115 kB / 0.8202 GB, free: 13.84 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.01181, allocations: 242.7 kB / 0.8205 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.01184, allocations: 47.98 kB / 0.8205 GB, free: 13.59 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003507/0.0122, allocations: 208.1 kB / 0.8207 GB, free: 13.41 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 6.718e-05/0.01226, allocations: 128.1 kB / 0.8208 GB, free: 13.3 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.01238, allocations: 144.5 kB / 0.821 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.347e-05/0.01246, allocations: 346.4 kB / 0.8213 GB, free: 12.87 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.927e-05/0.01254, allocations: 64.39 kB / 0.8214 GB, free: 12.85 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.01267, allocations: 186.5 kB / 0.8215 GB, free: 12.69 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002434/0.01292, allocations: 288.9 kB / 0.8218 GB, free: 12.48 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01292, allocations: 1.281 kB / 0.8218 GB, free: 12.48 MB / 0.7917 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0003016/0.01322, allocations: 304.8 kB / 0.8221 GB, free: 12.35 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.01324, allocations: 6.594 kB / 0.8221 GB, free: 12.35 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.01324, allocations: 3.594 kB / 0.8221 GB, free: 12.35 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.01326, allocations: 6.844 kB / 0.8221 GB, free: 12.35 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.01343, allocations: 74.44 kB / 0.8222 GB, free: 12.33 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.01344, allocations: 11.61 kB / 0.8222 GB, free: 12.32 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.01355, allocations: 61.88 kB / 0.8223 GB, free: 12.28 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.01357, allocations: 17.47 kB / 0.8223 GB, free: 12.28 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 59 ($PRE.con.multiSwitch1.u[1],$PRE.con.multiSwitch1.u[2],$PRE.con.t1.enableFire,$PRE.con.t2.enableFire,$PRE.con.t3.enableFire,$PRE.con.t4.enableFire,con.t3.t_start,$PRE.con.t3.t_start,con.t4.t_start,$PRE.con.t4.t_start,con.t4.enableFire,con.t4.localCondition,con.t3.enableFire,con.t3.localCondition,con.discharge.active,con.discharge.oldActive,$PRE.con.discharge.oldActive,con.discharge.newActive,$PRE.con.discharge.newActive,con.discharge.localActive,$PRE.con.discharge.localActive,con.charge.active,con.charge.oldActive,$PRE.con.charge.oldActive,con.charge.newActive,$PRE.con.charge.newActive,con.charge.localActive,$PRE.con.charge.localActive,con.t2.t_start,$PRE.con.t2.t_start,con.t2.fire,con.t2.enableFire,con.t2.localCondition,con.t1.t_start,$PRE.con.t1.t_start,con.t1.fire,con.t1.enableFire,con.t1.localCondition,con.alternative.split[2].available,con.stateGraphRoot.activeSteps,con.off.oldActive,$PRE.con.off.oldActive,con.off.newActive,$PRE.con.off.newActive,con.off.outPort[1].reset,con.off.inPort[1].set,con.off.localActive,$PRE.con.off.localActive,con.off.active,con.multiSwitch1.firstActiveIndex,con.multiSwitch1.u[2],con.multiSwitch1.u[1],con.greaterThreshold.y,con.not1.y,con.lessThreshold.y,$whenCondition1,$whenCondition2,con.stateGraphRoot.suspend,con.stateGraphRoot.resume) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0001265/0.0137, allocations: 173.8 kB / 0.8224 GB, free: 12.12 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.01374, allocations: 39.72 kB / 0.8225 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/0.01396, allocations: 210.8 kB / 0.8227 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.01396, allocations: 5.531 kB / 0.8227 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.01397, allocations: 1.469 kB / 0.8227 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.01397, allocations: 0 / 0.8227 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006542/0.01463, allocations: 0.7173 MB / 0.8234 GB, free: 11.44 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01463, allocations: 0 / 0.8234 GB, free: 11.44 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.663e-05/0.01472, allocations: 47.56 kB / 0.8234 GB, free: 11.42 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.01473, allocations: 2.375 kB / 0.8234 GB, free: 11.42 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.01474, allocations: 6.688 kB / 0.8234 GB, free: 11.42 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.01475, allocations: 3.75 kB / 0.8234 GB, free: 11.42 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.01475, allocations: 5.375 kB / 0.8235 GB, free: 11.41 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.01499, allocations: 369.7 kB / 0.8238 GB, free: 11.14 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 2.295e-05/0.01501, allocations: 28.77 kB / 0.8238 GB, free: 11.12 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.01504, allocations: 8.625 kB / 0.8238 GB, free: 11.12 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.599e-05/0.01511, allocations: 21.98 kB / 0.8239 GB, free: 11.11 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.018e-05/0.0152, allocations: 54.33 kB / 0.8239 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.01522, allocations: 13.69 kB / 0.8239 GB, free: 11.06 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 4.279e-05/0.01526, allocations: 52.22 kB / 0.824 GB, free: 11.04 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.01526, allocations: 1.219 kB / 0.824 GB, free: 11.04 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002702/0.01553, allocations: 111.6 kB / 0.8241 GB, free: 11 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 38 (con.t4.t_start,con.t3.t_start,con.t2.enableFire,con.t1.enableFire,con.discharge.localActive,con.discharge.active,con.charge.localActive,con.charge.active,con.off.active,$whenCondition2,$whenCondition1,con.lessThreshold.y,con.not1.y,con.greaterThreshold.y,con.multiSwitch1.u[1],con.multiSwitch1.u[2],con.multiSwitch1.firstActiveIndex,con.off.localActive,con.off.inPort[1].set,con.off.outPort[1].reset,con.off.newActive,con.off.oldActive,con.stateGraphRoot.activeSteps,con.alternative.split[2].available,con.t1.localCondition,con.t1.fire,con.t1.t_start,con.t2.localCondition,con.t2.fire,con.t2.t_start,con.charge.newActive,con.charge.oldActive,con.discharge.newActive,con.discharge.oldActive,con.t3.localCondition,con.t3.enableFire,con.t4.localCondition,con.t4.enableFire) * Number of discrete states: 5 (con.off.newActive,con.charge.newActive,con.discharge.newActive,con.t3.t_start,con.t4.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.0004628/0.01599, allocations: 0.8468 MB / 0.8249 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0002733/0.01627, allocations: 257 kB / 0.8252 GB, free: 10.19 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.01627, allocations: 2.125 kB / 0.8252 GB, free: 10.19 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.0164, allocations: 119.4 kB / 0.8253 GB, free: 10.15 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.0166, allocations: 63.73 kB / 0.8253 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.01847, allocations: 1.843 MB / 0.8271 GB, free: 8.699 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.815e-05/0.01854, allocations: 107.2 kB / 0.8272 GB, free: 8.609 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.000111/0.01865, allocations: 43.05 kB / 0.8273 GB, free: 8.594 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.01887, allocations: 219.3 kB / 0.8275 GB, free: 8.402 MB / 0.7917 GB Notification: Performance of SimCode: time 1.042e-06/0.01887, allocations: 0 / 0.8275 GB, free: 8.402 MB / 0.7917 GB Notification: Performance of FMU documentation: time 0.02986/0.04872, allocations: 9.996 MB / 0.8372 GB, free: 15.03 MB / 0.8074 GB Notification: FMU-only work: backend 0.0003107, simCode 0.0008427, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06678/0.1155, allocations: 1.374 MB / 0.8386 GB, free: 13.59 MB / 0.8074 GB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 2.732/2.848, allocations: 13.34 kB / 0.8386 GB, free: 13.59 MB / 0.8074 GB " [Timeout remaining time 297] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_res.mat --stripRoot --tempDir=temp_Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_BatteryControl_fmu --startTime=0 --stopTime=604800 --stepSize=241.92 --mode=me --timeout=240 --tolerance=1e-06 ../Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_BatteryControl.fmu) > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_BatteryControl.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_OMSimulator-cs-cvode.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_BatteryControl_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=604800 --stepSize=241.92 --mode=cs --timeout=240 --tolerance=1e-06 ../Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_BatteryControl_OMSimulator-cs-cvode.fmu) > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_BatteryControl.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_OMSimulator-cs-euler.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_OMSimulator-cs-euler.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_BatteryControl_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=604800 --stepSize=241.92 --mode=cs --timeout=240 --tolerance=1e-06 ../Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_BatteryControl_OMSimulator-cs-euler.fmu) > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_BatteryControl.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_fmpy.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_fmpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_fmpy_res.csv --output-variables con.SOC con.y con.isDay.y --start-time 0 --stop-time 604800 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 241.92 ../Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_BatteryControl.fmu) > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_fmpy_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_BatteryControl.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Failed to open simulation result Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_fmpy_res.csv: Error: Error opening file: Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_fmpy_res.csv " [Timeout remaining time 300] "" Variables in the reference:time,con.SOC,con.y,con.isDay.y Variables in the result: filterSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 300] "Error: Failed to open simulation result Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_fmpy_res.csv: [:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 300] Failed to write the differing variables of Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_BatteryControl.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_fmpy.diff.ref.mat", vars={}, removeDescription=false) [Timeout 300] "[:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 300] Failed to write the differing variables of /mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_BatteryControl.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_fmpy.diff.ref.mat: "" (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_fmpy-fmi3-cs-cvode.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 604800 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 241.92 ../Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_BatteryControl_fmpy-fmi3-cs-cvode.fmu) > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_fmpy-fmi3-cs-cvode_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_BatteryControl.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Failed to open simulation result Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_fmpy-fmi3-cs-cvode_res.csv: Error: Error opening file: Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_fmpy-fmi3-cs-cvode_res.csv " [Timeout remaining time 300] "" Variables in the reference:time,con.SOC,con.y,con.isDay.y Variables in the result: filterSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_fmpy-fmi3-cs-cvode.diff.mat", vars={}, removeDescription=false) [Timeout 300] "Error: Failed to open simulation result Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_fmpy-fmi3-cs-cvode_res.csv: [:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 300] Failed to write the differing variables of Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_BatteryControl.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_fmpy-fmi3-cs-cvode.diff.ref.mat", vars={}, removeDescription=false) [Timeout 300] "[:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 300] Failed to write the differing variables of /mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_BatteryControl.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl_fmpy-fmi3-cs-cvode.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 8.209965656511486]