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.001453/0.001453, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 207.8 kB / 23.02 MB, free: 2.957 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.075/1.075, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.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.927/1.927, allocations: 0.4898 GB / 0.7957 GB, free: 2.293 MB / 0.6355 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",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",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 67.89 kB / 1.155 GB, free: 15.93 MB / 0.948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7367/0.7384, allocations: 176.2 MB / 1.328 GB, free: 9.391 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl): time 0.002757/0.7412, allocations: 2.228 MB / 1.33 GB, free: 7.152 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.7425, allocations: 0.9817 MB / 1.331 GB, free: 6.164 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.7427, allocations: 7.938 kB / 1.331 GB, free: 6.156 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.7429, allocations: 59.34 kB / 1.331 GB, free: 6.098 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0002203/0.7431, allocations: 55.47 kB / 1.331 GB, free: 6.043 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004897/0.7436, allocations: 299.6 kB / 1.331 GB, free: 5.75 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.000492/0.7441, allocations: 0.6558 MB / 1.332 GB, free: 5.094 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004896/0.7446, allocations: 369.1 kB / 1.332 GB, free: 4.727 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002451/0.7448, allocations: 227.4 kB / 1.332 GB, free: 4.504 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002432/0.745, allocations: 202.9 kB / 1.332 GB, free: 4.305 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 5.971e-05/0.7451, allocations: 64 kB / 1.333 GB, free: 4.242 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.7452, allocations: 87.98 kB / 1.333 GB, free: 4.156 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.7453, allocations: 155.6 kB / 1.333 GB, free: 4.004 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.7455, allocations: 203.1 kB / 1.333 GB, free: 3.805 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0005568/0.746, allocations: 0.7589 MB / 1.334 GB, free: 3.043 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.746, allocations: 0 / 1.334 GB, free: 3.043 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.585e-06/0.746, allocations: 3.984 kB / 1.334 GB, free: 3.039 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.746, allocations: 0 / 1.334 GB, free: 3.039 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.0008285/0.7469, allocations: 0.6727 MB / 1.334 GB, free: 2.332 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.7469, allocations: 12.03 kB / 1.334 GB, free: 2.32 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.546e-05/0.747, allocations: 94.69 kB / 1.334 GB, free: 2.219 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003425/0.7473, allocations: 88.56 kB / 1.335 GB, free: 2.133 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.7476, allocations: 283.9 kB / 1.335 GB, free: 1.828 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.357e-05/0.7477, allocations: 49.67 kB / 1.335 GB, free: 1.781 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.448e-05/0.7477, allocations: 56.38 kB / 1.335 GB, free: 1.727 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006313/0.7484, allocations: 0.5697 MB / 1.335 GB, free: 1.121 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.7484, allocations: 3.938 kB / 1.335 GB, free: 1.117 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.7484, allocations: 20 kB / 1.335 GB, free: 1.098 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.823e-05/0.7484, allocations: 21 kB / 1.336 GB, free: 1.078 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004867/0.7489, allocations: 427.7 kB / 1.336 GB, free: 0.6602 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.7504, allocations: 1.723 MB / 1.338 GB, free: 14.87 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004168/0.7508, allocations: 366.8 kB / 1.338 GB, free: 14.49 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.751, allocations: 170.5 kB / 1.338 GB, free: 14.31 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 4.89e-05/0.751, allocations: 8 kB / 1.338 GB, free: 14.3 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002787/0.7513, allocations: 269 kB / 1.338 GB, free: 14.02 MB / 1.026 GB Notification: Performance of pre-optimization done (n=48): time 2.234e-06/0.7513, allocations: 0 / 1.338 GB, free: 14.02 MB / 1.026 GB Notification: Performance of matching and sorting (n=48): time 0.0006921/0.752, allocations: 0.4913 MB / 1.339 GB, free: 13.52 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.7521, allocations: 114.8 kB / 1.339 GB, free: 13.38 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.7522, allocations: 243.7 kB / 1.339 GB, free: 13.14 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.7523, allocations: 53.62 kB / 1.339 GB, free: 13.08 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.7524, allocations: 221.3 kB / 1.339 GB, free: 12.86 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 6.957e-05/0.7524, allocations: 119.3 kB / 1.34 GB, free: 12.74 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.7526, allocations: 146.3 kB / 1.34 GB, free: 12.59 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.7527, allocations: 346.7 kB / 1.34 GB, free: 12.25 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.7529, allocations: 161.2 kB / 1.34 GB, free: 12.09 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/0.7532, allocations: 292.7 kB / 1.34 GB, free: 11.75 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000402/0.7536, allocations: 405.2 kB / 1.341 GB, free: 11.31 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.7536, allocations: 0 / 1.341 GB, free: 11.31 MB / 1.026 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0005529/0.7541, allocations: 0.5048 MB / 1.341 GB, free: 10.8 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.7541, allocations: 10.5 kB / 1.341 GB, free: 10.79 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.7541, allocations: 7.984 kB / 1.341 GB, free: 10.79 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.7542, allocations: 8 kB / 1.341 GB, free: 10.78 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.7543, allocations: 60.31 kB / 1.341 GB, free: 10.72 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.7544, allocations: 11.94 kB / 1.341 GB, free: 10.71 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.7545, allocations: 59.66 kB / 1.342 GB, free: 10.65 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.7545, allocations: 31.98 kB / 1.342 GB, free: 10.62 MB / 1.026 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.stateGraphRoot.resume,con.stateGraphRoot.suspend,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) * 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.0002152/0.7547, allocations: 236.3 kB / 1.342 GB, free: 10.38 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.7548, allocations: 27.81 kB / 1.342 GB, free: 10.35 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004842/0.7552, allocations: 374.2 kB / 1.342 GB, free: 9.984 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.7553, allocations: 4 kB / 1.342 GB, free: 9.98 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.597e-06/0.7553, allocations: 4 kB / 1.342 GB, free: 9.977 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.7553, allocations: 3.984 kB / 1.342 GB, free: 9.973 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.7565, allocations: 0.9959 MB / 1.343 GB, free: 8.906 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.7565, allocations: 0 / 1.343 GB, free: 8.906 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.712e-05/0.7566, allocations: 39.91 kB / 1.343 GB, free: 8.867 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.7566, allocations: 7.875 kB / 1.343 GB, free: 8.859 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.7566, allocations: 12 kB / 1.343 GB, free: 8.848 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.7566, allocations: 4 kB / 1.343 GB, free: 8.844 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.7566, allocations: 0 / 1.343 GB, free: 8.844 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004581/0.7571, allocations: 493.2 kB / 1.344 GB, free: 8.344 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 2.989e-05/0.7571, allocations: 31.69 kB / 1.344 GB, free: 8.312 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.432e-05/0.7571, allocations: 15.94 kB / 1.344 GB, free: 8.297 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.532e-05/0.7572, allocations: 23.97 kB / 1.344 GB, free: 8.273 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.7574, allocations: 71.91 kB / 1.344 GB, free: 8.203 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.7574, allocations: 12 kB / 1.344 GB, free: 8.191 MB / 1.026 GB Notification: Performance of sorting global known variables: time 9.114e-05/0.7575, allocations: 148 kB / 1.344 GB, free: 8.047 MB / 1.026 GB Notification: Performance of sort global known variables: time 6e-08/0.7575, allocations: 0 / 1.344 GB, free: 8.047 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.000342/0.7578, allocations: 107.7 kB / 1.344 GB, free: 7.941 MB / 1.026 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.0007891/0.7586, allocations: 1.068 MB / 1.345 GB, free: 6.84 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0005282/0.7591, allocations: 409.6 kB / 1.345 GB, free: 6.441 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7591, allocations: 0 / 1.345 GB, free: 6.441 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0003405/0.7595, allocations: 203.7 kB / 1.346 GB, free: 6.242 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.7598, allocations: 41.05 kB / 1.346 GB, free: 6.203 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/0.7627, allocations: 3.398 MB / 1.349 GB, free: 2.617 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001651/0.7628, allocations: 216.1 kB / 1.349 GB, free: 2.387 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0001332/0.763, allocations: 55.25 kB / 1.349 GB, free: 2.336 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.7631, allocations: 131.4 kB / 1.349 GB, free: 2.207 MB / 1.026 GB Notification: Performance of SimCode: time 1.523e-06/0.7631, allocations: 0 / 1.349 GB, free: 2.207 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08416/0.8473, allocations: 8.46 MB / 1.358 GB, free: 9.961 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.949/7.796, allocations: 8.438 kB / 1.358 GB, free: 9.957 MB / 1.042 GB " [Timeout remaining time 292] (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: Class filterSimulationResults not found in scope (looking for a function or record). " [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: Class filterSimulationResults not found in scope (looking for a function or record). " [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: "" [Calling sys.exit(0), Time elapsed: 13.300234397873282]