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.001002/0.001002, allocations: 80.45 kB / 19.96 MB, free: 4.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 173.6 kB / 23.24 MB, free: 1.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9408/0.9408, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.81/1.81, allocations: 378.2 MB / 0.6232 GB, free: 8.324 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Buildings.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 2.305e-06/2.305e-06, allocations: 0 / 0.983 GB, free: 1.254 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.765e-05, allocations: 2.281 kB / 0.983 GB, free: 1.25 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl): time 0.003057/0.003084, allocations: 2.231 MB / 0.9852 GB, free: 15 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001607/0.004691, allocations: 0.9894 MB / 0.9862 GB, free: 14.01 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002295/0.00492, allocations: 11.94 kB / 0.9862 GB, free: 14 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.005095, allocations: 55.34 kB / 0.9862 GB, free: 13.94 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002648/0.00536, allocations: 59.39 kB / 0.9863 GB, free: 13.88 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006544/0.006015, allocations: 303.4 kB / 0.9866 GB, free: 13.59 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0006681/0.006683, allocations: 0.6557 MB / 0.9872 GB, free: 12.93 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005148/0.007198, allocations: 369.2 kB / 0.9876 GB, free: 12.57 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003798/0.007577, allocations: 355.3 kB / 0.9879 GB, free: 12.22 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.007857, allocations: 175.5 kB / 0.9881 GB, free: 12.05 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 6.597e-05/0.007923, allocations: 68 kB / 0.9882 GB, free: 11.98 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.008042, allocations: 83.98 kB / 0.9882 GB, free: 11.9 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.008163, allocations: 147.6 kB / 0.9884 GB, free: 11.75 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.008319, allocations: 171.6 kB / 0.9885 GB, free: 11.59 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000648/0.008967, allocations: 0.7827 MB / 0.9893 GB, free: 10.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.008971, allocations: 0 / 0.9893 GB, free: 10.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.784e-06/0.008973, allocations: 4 kB / 0.9893 GB, free: 10.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.008984, allocations: 3.938 kB / 0.9893 GB, free: 10.79 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.0009702/0.009955, allocations: 0.6611 MB / 0.99 GB, free: 10.09 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.01, allocations: 12.03 kB / 0.99 GB, free: 10.08 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.626e-05/0.01009, allocations: 94.69 kB / 0.9901 GB, free: 9.98 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003585/0.01045, allocations: 88.59 kB / 0.9901 GB, free: 9.895 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.01077, allocations: 289.7 kB / 0.9904 GB, free: 9.582 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.446e-05/0.01082, allocations: 45.69 kB / 0.9905 GB, free: 9.539 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.873e-05/0.01087, allocations: 60.38 kB / 0.9905 GB, free: 9.48 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000695/0.01156, allocations: 0.5701 MB / 0.9911 GB, free: 8.883 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.01157, allocations: 192 / 0.9911 GB, free: 8.883 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/0.01161, allocations: 24.12 kB / 0.9911 GB, free: 8.859 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.837e-05/0.01164, allocations: 21 kB / 0.9911 GB, free: 8.84 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005185/0.01216, allocations: 423.7 kB / 0.9915 GB, free: 8.426 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.01371, allocations: 1.711 MB / 0.9932 GB, free: 6.645 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004601/0.01417, allocations: 356.3 kB / 0.9935 GB, free: 6.27 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.01437, allocations: 182.3 kB / 0.9937 GB, free: 6.082 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.968e-05/0.01442, allocations: 11.98 kB / 0.9937 GB, free: 6.07 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002975/0.01472, allocations: 258 kB / 0.994 GB, free: 5.797 MB / 0.948 GB Notification: Performance of pre-optimization done (n=48): time 1.743e-06/0.01472, allocations: 0 / 0.994 GB, free: 5.797 MB / 0.948 GB Notification: Performance of matching and sorting (n=48): time 0.0006308/0.01535, allocations: 0.4952 MB / 0.9944 GB, free: 5.297 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.0154, allocations: 114.8 kB / 0.9946 GB, free: 5.16 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.01556, allocations: 247.2 kB / 0.9948 GB, free: 4.91 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.0156, allocations: 53.69 kB / 0.9948 GB, free: 4.852 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.01571, allocations: 221.3 kB / 0.9951 GB, free: 4.633 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.573e-05/0.01577, allocations: 115.1 kB / 0.9952 GB, free: 4.52 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.01591, allocations: 150.2 kB / 0.9953 GB, free: 4.363 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.912e-05/0.01601, allocations: 338.8 kB / 0.9956 GB, free: 4.023 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.01622, allocations: 161.2 kB / 0.9958 GB, free: 3.867 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.01647, allocations: 300.9 kB / 0.9961 GB, free: 3.523 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/0.01685, allocations: 417.2 kB / 0.9965 GB, free: 3.062 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.01686, allocations: 0 / 0.9965 GB, free: 3.062 MB / 0.948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0005469/0.0174, allocations: 0.5051 MB / 0.997 GB, free: 2.555 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.01743, allocations: 10.81 kB / 0.997 GB, free: 2.547 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.01743, allocations: 4 kB / 0.997 GB, free: 2.543 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.01745, allocations: 8 kB / 0.997 GB, free: 2.535 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.0176, allocations: 63.83 kB / 0.997 GB, free: 2.473 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.01761, allocations: 4 kB / 0.997 GB, free: 2.469 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.01774, allocations: 63.61 kB / 0.9971 GB, free: 2.406 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.01777, allocations: 24.22 kB / 0.9971 GB, free: 2.383 MB / 0.948 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.0001976/0.01797, allocations: 234.9 kB / 0.9974 GB, free: 2.145 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.018, allocations: 27.8 kB / 0.9974 GB, free: 2.117 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004546/0.01846, allocations: 374.2 kB / 0.9977 GB, free: 1.746 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.01846, allocations: 4 kB / 0.9977 GB, free: 1.742 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.01847, allocations: 4 kB / 0.9977 GB, free: 1.738 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.01847, allocations: 7.984 kB / 0.9978 GB, free: 1.73 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009577/0.01943, allocations: 0.9962 MB / 0.9987 GB, free: 0.668 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.01944, allocations: 0 / 0.9987 GB, free: 0.668 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.434e-05/0.01952, allocations: 39.91 kB / 0.9988 GB, free: 0.6289 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.01952, allocations: 0 / 0.9988 GB, free: 0.6289 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.01954, allocations: 11.94 kB / 0.9988 GB, free: 0.6172 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.01955, allocations: 4 kB / 0.9988 GB, free: 0.6133 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.01955, allocations: 3.938 kB / 0.9988 GB, free: 0.6094 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004338/0.01998, allocations: 494.8 kB / 0.9993 GB, free: 108 kB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.863e-05/0.02001, allocations: 31.73 kB / 0.9993 GB, free: 76 kB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.02004, allocations: 15.94 kB / 0.9993 GB, free: 60 kB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9e-05/0.02013, allocations: 27.97 kB / 0.9993 GB, free: 32 kB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.02027, allocations: 71.92 kB / 0.9994 GB, free: 15.96 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.02029, allocations: 12 kB / 0.9994 GB, free: 15.95 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.078e-05/0.02037, allocations: 139.2 kB / 0.9995 GB, free: 15.81 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1e-07/0.02037, allocations: 0 / 0.9995 GB, free: 15.81 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003319/0.02071, allocations: 107.7 kB / 0.9996 GB, free: 15.7 MB / 0.9636 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.0007501/0.02146, allocations: 1.077 MB / 1.001 GB, free: 14.6 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004888/0.02194, allocations: 402.7 kB / 1.001 GB, free: 14.21 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.02195, allocations: 4.312 kB / 1.001 GB, free: 14.2 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002159/0.02216, allocations: 207.8 kB / 1.001 GB, free: 14 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.02243, allocations: 43.92 kB / 1.001 GB, free: 13.96 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/0.02545, allocations: 3.418 MB / 1.005 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/0.02561, allocations: 212.1 kB / 1.005 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001374/0.02575, allocations: 59.23 kB / 1.005 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.02591, allocations: 132.5 kB / 1.005 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of SimCode: time 1.523e-06/0.02591, allocations: 0 / 1.005 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07615/0.1021, allocations: 8.578 MB / 1.013 GB, free: 1.586 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.241/7.343, allocations: 9.828 kB / 1.013 GB, free: 1.582 MB / 0.9636 GB " [Timeout remaining time 293] (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: 12.539547220803797]