Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.ChillerPlant.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.00133/0.00133, allocations: 76.27 kB / 9.879 MB, free: 0.8203 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00202/0.003351, allocations: 449.6 kB / 10.32 MB, free: 392 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 149.9 kB / 11.2 MB, free: 2.98 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001751/0.003177, allocations: 476.2 kB / 11.66 MB, free: 2.512 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9467/0.9467, allocations: 177.2 MB / 189.5 MB, free: 3.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1587/1.105, allocations: 53.66 MB / 243.2 MB, free: 2.359 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.802/1.802, allocations: 378.2 MB / 0.6076 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1862/1.988, allocations: 123.3 MB / 0.728 GB, free: 12.98 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl,fileNamePrefix="Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_BatteryControl",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl,fileNamePrefix="Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_BatteryControl",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.7292 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.108e-05, allocations: 2.312 kB / 0.7292 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl): time 0.003382/0.003403, allocations: 2.351 MB / 0.7315 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002091/0.005494, allocations: 1.016 MB / 0.7325 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002904/0.005784, allocations: 11.94 kB / 0.7325 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001952/0.00598, allocations: 59.34 kB / 0.7326 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002432/0.006223, allocations: 55.41 kB / 0.7326 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007248/0.006948, allocations: 303.4 kB / 0.7329 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0008343/0.007782, allocations: 0.6481 MB / 0.7335 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006084/0.00839, allocations: 387.6 kB / 0.7339 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005127/0.008903, allocations: 347.3 kB / 0.7342 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003385/0.009241, allocations: 179.5 kB / 0.7344 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.009343, allocations: 64 kB / 0.7345 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002019/0.009545, allocations: 91.86 kB / 0.7346 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.009687, allocations: 119.7 kB / 0.7347 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.009849, allocations: 131.8 kB / 0.7348 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0006126/0.01046, allocations: 422.4 kB / 0.7352 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.444e-05/0.01048, allocations: 0 / 0.7352 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.293e-06/0.01048, allocations: 0 / 0.7352 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.062e-05/0.0105, allocations: 0 / 0.7352 GB, free: 5.562 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001036/0.01153, allocations: 0.6437 MB / 0.7358 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.01158, allocations: 12.03 kB / 0.7358 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001058/0.01168, allocations: 98.61 kB / 0.7359 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005454/0.01223, allocations: 193.9 kB / 0.7361 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/0.01258, allocations: 221.8 kB / 0.7363 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.069e-05/0.01264, allocations: 45.69 kB / 0.7364 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-05/0.01271, allocations: 52.38 kB / 0.7364 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006277/0.01333, allocations: 427.2 kB / 0.7368 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.01335, allocations: 192 / 0.7368 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/0.01339, allocations: 24.12 kB / 0.7369 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-05/0.01343, allocations: 24.94 kB / 0.7369 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003241/0.01375, allocations: 145.7 kB / 0.737 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001898/0.01565, allocations: 1.46 MB / 0.7384 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004085/0.01606, allocations: 273.2 kB / 0.7387 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.01619, allocations: 86.55 kB / 0.7388 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.497e-05/0.01625, allocations: 15.98 kB / 0.7388 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002891/0.01653, allocations: 208.5 kB / 0.739 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 3.296e-06/0.01654, allocations: 0 / 0.739 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.0004788/0.01702, allocations: 249.1 kB / 0.7392 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.685e-05/0.01708, allocations: 114.8 kB / 0.7393 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.01728, allocations: 247.3 kB / 0.7396 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/0.01733, allocations: 49.7 kB / 0.7396 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.01748, allocations: 217.2 kB / 0.7398 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.897e-05/0.01758, allocations: 123 kB / 0.74 GB, free: 412 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/0.01775, allocations: 142.2 kB / 0.7401 GB, free: 264 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.01788, allocations: 346.7 kB / 0.7404 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.01802, allocations: 60.11 kB / 0.7405 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.01821, allocations: 192.7 kB / 0.7407 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/0.01858, allocations: 287 kB / 0.7409 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.01858, allocations: 0 / 0.7409 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0004687/0.01905, allocations: 304.9 kB / 0.7412 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.01907, allocations: 8 kB / 0.7412 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.01908, allocations: 4 kB / 0.7412 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.0191, allocations: 4.469 kB / 0.7412 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.01939, allocations: 83.83 kB / 0.7413 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.0194, allocations: 8 kB / 0.7413 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.01959, allocations: 59.61 kB / 0.7414 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.01962, allocations: 16 kB / 0.7414 GB, free: 14.8 MB / 0.7292 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.0001963/0.01982, allocations: 173.8 kB / 0.7416 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-05/0.01988, allocations: 43.84 kB / 0.7416 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00035/0.02023, allocations: 202.3 kB / 0.7418 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.02024, allocations: 4 kB / 0.7418 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.02024, allocations: 0 / 0.7418 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.02025, allocations: 7.984 kB / 0.7418 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.02127, allocations: 0.7132 MB / 0.7425 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.02127, allocations: 0 / 0.7425 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.02143, allocations: 47.84 kB / 0.7426 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.02144, allocations: 4 kB / 0.7426 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.02146, allocations: 4 kB / 0.7426 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.02146, allocations: 8 kB / 0.7426 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.02147, allocations: 0 / 0.7426 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003873/0.02185, allocations: 368.2 kB / 0.7429 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.892e-05/0.02189, allocations: 35.69 kB / 0.743 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.02193, allocations: 8 kB / 0.743 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.02208, allocations: 23.97 kB / 0.743 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.02221, allocations: 50.69 kB / 0.743 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.02223, allocations: 11.94 kB / 0.743 GB, free: 13 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.655e-05/0.0223, allocations: 52.86 kB / 0.7431 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.01e-07/0.0223, allocations: 11.94 kB / 0.7431 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004254/0.02273, allocations: 103.7 kB / 0.7432 GB, free: 12.84 MB / 0.7292 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.0006586/0.02338, allocations: 0.8473 MB / 0.744 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004245/0.02381, allocations: 248.8 kB / 0.7443 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.02382, allocations: 4 kB / 0.7443 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.024, allocations: 118 kB / 0.7444 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.02432, allocations: 51.84 kB / 0.7444 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002661/0.02698, allocations: 1.849 MB / 0.7462 GB, free: 9.57 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.608e-05/0.02707, allocations: 113.4 kB / 0.7464 GB, free: 9.438 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001542/0.02723, allocations: 47.25 kB / 0.7464 GB, free: 9.387 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000307/0.02754, allocations: 211.3 kB / 0.7466 GB, free: 9.18 MB / 0.7292 GB Notification: Performance of SimCode: time 8.51e-07/0.02754, allocations: 0 / 0.7466 GB, free: 9.18 MB / 0.7292 GB Notification: Performance of FMU documentation: time 0.03511/0.06265, allocations: 9.991 MB / 0.7564 GB, free: 15.37 MB / 0.7449 GB Notification: FMU-only work: backend 0.0004535, simCode 0.001161, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06372/0.1264, allocations: 1.369 MB / 0.7577 GB, free: 13.94 MB / 0.7449 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.502/2.629, allocations: 23.75 kB / 0.7577 GB, free: 13.91 MB / 0.7449 GB " [Timeout remaining time 297] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_res.mat --stripRoot --tempDir=temp_Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_BatteryControl_fmu --startTime=0 --stopTime=604800 --stepSize=241.92 --mode=me --timeout=240 --tolerance=1e-06 ../Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_BatteryControl.fmu) > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_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_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_OMSimulator-cs-cvode.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_BatteryControl_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=604800 --stepSize=241.92 --mode=cs --timeout=240 --tolerance=1e-06 ../Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_BatteryControl_OMSimulator-cs-cvode.fmu) > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_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_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_OMSimulator-cs-euler.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_OMSimulator-cs-euler.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_BatteryControl_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=604800 --stepSize=241.92 --mode=cs --timeout=240 --tolerance=1e-06 ../Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_BatteryControl_OMSimulator-cs-euler.fmu) > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_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_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_fmpy.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_fmpy.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_12_Buildings.Examples.ChillerPlant.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_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_BatteryControl.fmu) > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_fmpy_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_BatteryControl.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Failed to open simulation result Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_fmpy_res.csv: Error: Error opening file: Buildings_12_Buildings.Examples.ChillerPlant.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_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 300] "Error: Failed to open simulation result Buildings_12_Buildings.Examples.ChillerPlant.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_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_BatteryControl.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.ChillerPlant.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/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_BatteryControl.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_fmpy.diff.ref.mat: "" (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_fmpy-fmi3-cs-cvode.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Buildings_12_Buildings.Examples.ChillerPlant.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_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_BatteryControl_fmpy-fmi3-cs-cvode.fmu) > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_fmpy-fmi3-cs-cvode_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_BatteryControl.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Failed to open simulation result Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_fmpy-fmi3-cs-cvode_res.csv: Error: Error opening file: Buildings_12_Buildings.Examples.ChillerPlant.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_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_fmpy-fmi3-cs-cvode.diff.mat", vars={}, removeDescription=false) [Timeout 300] "Error: Failed to open simulation result Buildings_12_Buildings.Examples.ChillerPlant.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_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_BatteryControl.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.ChillerPlant.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/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_BatteryControl.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl_fmpy-fmi3-cs-cvode.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 7.185817048884928]