Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007595/0.0007595, allocations: 72.27 kB / 9.851 MB, free: 0.8477 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001111/0.001871, 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.001054/0.001054, allocations: 149.9 kB / 11.17 MB, free: 3.008 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001373/0.002427, 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.8938/0.8938, allocations: 177.1 MB / 189.5 MB, free: 3.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1627/1.056, allocations: 53.66 MB / 243.2 MB, free: 2.363 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.032/2.032, allocations: 440.5 MB / 0.6683 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4852/2.517, allocations: 143.9 MB / 0.8088 GB, free: 6.258 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.Electrical.DC.Storage.Examples.Battery,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Storage_Examples_Battery",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Storage.Examples.Battery,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Storage_Examples_Battery",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 0.8101 GB, free: 5.277 MB / 0.7761 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.878e-05, allocations: 3 kB / 0.8101 GB, free: 5.273 MB / 0.7761 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Storage.Examples.Battery): time 0.005262/0.005281, allocations: 3.598 MB / 0.8136 GB, free: 2.535 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003032/0.008313, allocations: 1.588 MB / 0.8151 GB, free: 1.277 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003025/0.008615, allocations: 20.12 kB / 0.8152 GB, free: 1.27 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005382/0.009153, allocations: 183.3 kB / 0.8153 GB, free: 1.125 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004494/0.009603, allocations: 235.3 kB / 0.8155 GB, free: 0.9336 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009617/0.01056, allocations: 453.2 kB / 0.816 GB, free: 0.5781 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001116/0.01168, allocations: 1.007 MB / 0.817 GB, free: 12 kB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009936/0.01267, allocations: 0.8784 MB / 0.8178 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004562/0.01313, allocations: 0.5475 MB / 0.8184 GB, free: 15.11 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004324/0.01356, allocations: 345.1 kB / 0.8187 GB, free: 14.89 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 8.991e-05/0.01365, allocations: 77.56 kB / 0.8188 GB, free: 14.89 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002452/0.0139, allocations: 144.3 kB / 0.8189 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.01404, allocations: 192.5 kB / 0.8191 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0002016/0.01424, allocations: 197.4 kB / 0.8193 GB, free: 14.77 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0006028/0.01485, allocations: 0.6049 MB / 0.8199 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.186e-05/0.01486, allocations: 0 / 0.8199 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.413e-06/0.01486, allocations: 2.438 kB / 0.8199 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.213e-05/0.01488, allocations: 0 / 0.8199 GB, free: 14.43 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.001007/0.01589, allocations: 0.8652 MB / 0.8207 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.01592, allocations: 8.844 kB / 0.8207 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.199e-05/0.01601, allocations: 132 kB / 0.8208 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006184/0.01663, allocations: 277.6 kB / 0.8211 GB, free: 13.46 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.01698, allocations: 297.8 kB / 0.8214 GB, free: 13.23 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.877e-05/0.01703, allocations: 68.17 kB / 0.8215 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.177e-05/0.0171, allocations: 79.78 kB / 0.8215 GB, free: 13.18 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006007/0.0177, allocations: 0.6882 MB / 0.8222 GB, free: 12.63 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.01772, allocations: 5.281 kB / 0.8222 GB, free: 12.63 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.049e-05/0.01776, allocations: 46.12 kB / 0.8223 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-05/0.01781, allocations: 45.42 kB / 0.8223 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002649/0.01807, allocations: 216.5 kB / 0.8225 GB, free: 12.53 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002155/0.02023, allocations: 2.771 MB / 0.8252 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.02051, allocations: 235 kB / 0.8254 GB, free: 9.992 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.02066, allocations: 134 kB / 0.8256 GB, free: 9.922 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.02069, allocations: 14.2 kB / 0.8256 GB, free: 9.918 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000215/0.02091, allocations: 235 kB / 0.8258 GB, free: 9.734 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=51): time 1.934e-06/0.02091, allocations: 0 / 0.8258 GB, free: 9.734 MB / 0.7917 GB Notification: Performance of matching and sorting (n=51): time 0.0003366/0.02125, allocations: 266.6 kB / 0.8261 GB, free: 9.637 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/0.02131, allocations: 198.5 kB / 0.8262 GB, free: 9.41 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.02155, allocations: 392.4 kB / 0.8266 GB, free: 9.137 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 5.514e-05/0.0216, allocations: 51.03 kB / 0.8267 GB, free: 9.09 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.02177, allocations: 304.6 kB / 0.827 GB, free: 8.824 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 8.156e-05/0.02185, allocations: 148.9 kB / 0.8271 GB, free: 8.699 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.02199, allocations: 173.1 kB / 0.8273 GB, free: 8.586 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.02212, allocations: 368.1 kB / 0.8276 GB, free: 8.23 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.6e-05/0.02221, allocations: 74.62 kB / 0.8277 GB, free: 8.207 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004509/0.02266, allocations: 330.5 kB / 0.828 GB, free: 7.867 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003167/0.02298, allocations: 436.6 kB / 0.8284 GB, free: 7.41 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.02298, allocations: 1.188 kB / 0.8284 GB, free: 7.41 MB / 0.7917 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.000379/0.02336, allocations: 403.3 kB / 0.8288 GB, free: 7.012 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.02338, allocations: 9.531 kB / 0.8288 GB, free: 7.004 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.02339, allocations: 8 kB / 0.8288 GB, free: 6.996 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.0234, allocations: 12 kB / 0.8288 GB, free: 6.984 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.02368, allocations: 121.2 kB / 0.8289 GB, free: 6.867 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/0.02369, allocations: 23.86 kB / 0.829 GB, free: 6.844 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.02392, allocations: 83.39 kB / 0.829 GB, free: 6.762 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.02394, allocations: 24 kB / 0.8291 GB, free: 6.738 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001435/0.02408, allocations: 165.9 kB / 0.8292 GB, free: 6.574 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001775/0.02426, allocations: 333.2 kB / 0.8295 GB, free: 6.145 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002655/0.02453, allocations: 412 kB / 0.8299 GB, free: 5.656 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.156e-06/0.02453, allocations: 7.938 kB / 0.8299 GB, free: 5.648 MB / 0.7917 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.000341/0.02487, allocations: 396.5 kB / 0.8303 GB, free: 5.262 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/0.02488, allocations: 8 kB / 0.8303 GB, free: 5.254 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.02489, allocations: 8.531 kB / 0.8303 GB, free: 5.246 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/0.02489, allocations: 12.88 kB / 0.8304 GB, free: 5.234 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.0251, allocations: 115.8 kB / 0.8305 GB, free: 5.121 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.02511, allocations: 21.17 kB / 0.8305 GB, free: 5.102 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.02525, allocations: 63.56 kB / 0.8305 GB, free: 5.039 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.02527, allocations: 28 kB / 0.8306 GB, free: 5.012 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.toOn.enableFire,$PRE.toHold.enableFire,$PRE.toDischarge.enableFire,$PRE.toOff.enableFire,stateGraphRoot.activeSteps,toOff.enableFire,toOff.localCondition,discharge.active,discharge.oldActive,$PRE.discharge.oldActive,discharge.newActive,$PRE.discharge.newActive,discharge.localActive,$PRE.discharge.localActive,toDischarge.enableFire,toDischarge.localCondition,hold.oldActive,$PRE.hold.oldActive,hold.newActive,$PRE.hold.newActive,hold.localActive,$PRE.hold.localActive,hold.active,toHold.enableFire,toHold.localCondition,charge.active,charge.oldActive,$PRE.charge.oldActive,charge.newActive,$PRE.charge.newActive,charge.localActive,$PRE.charge.localActive,toOn.enableFire,toOn.localCondition,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.localActive,$PRE.off.localActive,off.active,bat.cha.overCharged,$PRE.bat.cha.overCharged,bat.cha.underCharged,$PRE.bat.cha.underCharged,$whenCondition1,toOn.t_start,$PRE.toOn.t_start,toHold.t_start,$PRE.toHold.t_start,toDischarge.t_start,$PRE.toDischarge.t_start,toOff.t_start,$PRE.toOff.t_start,stateGraphRoot.suspend,stateGraphRoot.resume) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.02539, allocations: 258.9 kB / 0.8308 GB, free: 4.754 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.02544, allocations: 43.95 kB / 0.8309 GB, free: 4.711 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.882e-05/0.02549, allocations: 58.44 kB / 0.8309 GB, free: 4.652 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.0255, allocations: 4 kB / 0.8309 GB, free: 4.648 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.02551, allocations: 7.938 kB / 0.8309 GB, free: 4.641 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.02551, allocations: 3.984 kB / 0.8309 GB, free: 4.637 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007871/0.0263, allocations: 0.8971 MB / 0.8318 GB, free: 3.676 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.0263, allocations: 4 kB / 0.8318 GB, free: 3.672 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.02643, allocations: 55.91 kB / 0.8319 GB, free: 3.617 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.02643, allocations: 8.469 kB / 0.8319 GB, free: 3.609 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.02645, allocations: 13.03 kB / 0.8319 GB, free: 3.598 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.02646, allocations: 11.92 kB / 0.8319 GB, free: 3.586 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.02646, allocations: 4 kB / 0.8319 GB, free: 3.582 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000367/0.02683, allocations: 0.4889 MB / 0.8324 GB, free: 3.047 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 8.244e-05/0.02691, allocations: 63.53 kB / 0.8324 GB, free: 2.984 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/0.02695, allocations: 12.56 kB / 0.8325 GB, free: 2.973 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.494e-05/0.02704, allocations: 20.64 kB / 0.8325 GB, free: 2.953 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.837e-05/0.02711, allocations: 47.86 kB / 0.8325 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.02713, allocations: 17.28 kB / 0.8325 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 8.247e-05/0.02721, allocations: 128.7 kB / 0.8327 GB, free: 2.766 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02721, allocations: 0 / 0.8327 GB, free: 2.766 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004433/0.02765, allocations: 283.2 kB / 0.8329 GB, free: 2.488 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 1 (bat.cha.SOC) * Number of discrete variables: 32 (toOff.t_start,toDischarge.t_start,toHold.t_start,toOn.t_start,off.localActive,charge.active,hold.localActive,discharge.active,$whenCondition1,bat.cha.underCharged,bat.cha.overCharged,off.active,off.newActive,off.oldActive,toOn.localCondition,toOn.enableFire,charge.localActive,charge.newActive,charge.oldActive,toHold.localCondition,toHold.enableFire,hold.active,hold.newActive,hold.oldActive,toDischarge.localCondition,toDischarge.enableFire,discharge.localActive,discharge.newActive,discharge.oldActive,toOff.localCondition,toOff.enableFire,stateGraphRoot.activeSteps) * Number of discrete states: 10 (discharge.newActive,hold.newActive,charge.newActive,off.newActive,bat.cha.underCharged,bat.cha.overCharged,toOn.t_start,toHold.t_start,toDischarge.t_start,toOff.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005932/0.02825, allocations: 0.9601 MB / 0.8339 GB, free: 1.477 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0004537/0.0287, allocations: 0.5113 MB / 0.8344 GB, free: 0.9727 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/0.02871, allocations: 8 kB / 0.8344 GB, free: 0.9648 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.02882, allocations: 126.9 kB / 0.8345 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.02917, allocations: 122.2 kB / 0.8346 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.03191, allocations: 2.689 MB / 0.8372 GB, free: 13.86 MB / 0.8074 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.91e-05/0.032, allocations: 147.6 kB / 0.8374 GB, free: 13.69 MB / 0.8074 GB Notification: Performance of simCode: alias equations: time 0.0001864/0.03219, allocations: 84.06 kB / 0.8375 GB, free: 13.62 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/0.03248, allocations: 321.2 kB / 0.8378 GB, free: 13.3 MB / 0.8074 GB Notification: Performance of SimCode: time 5.51e-07/0.03248, allocations: 0 / 0.8378 GB, free: 13.3 MB / 0.8074 GB Notification: Performance of FMU documentation: time 0.03079/0.06327, allocations: 14.64 MB / 0.8521 GB, free: 15.11 MB / 0.823 GB Notification: FMU-only work: backend 0.0004823, simCode 0.001059, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06133/0.1246, allocations: 1.364 MB / 0.8534 GB, free: 13.68 MB / 0.823 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.735/2.859, allocations: 13.19 kB / 0.8534 GB, free: 13.67 MB / 0.823 GB " [Timeout remaining time 297] (rm -f Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_res.mat --stripRoot --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Storage_Examples_Battery_fmu --startTime=0 --stopTime=432000 --stepSize=172.8 --mode=me --timeout=240 --tolerance=1e-06 ../Buildings_latest_Buildings_Electrical_DC_Storage_Examples_Battery.fmu) > Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Storage_Examples_Battery.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches (rm -f Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-cvode.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Storage_Examples_Battery_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=432000 --stepSize=172.8 --mode=cs --timeout=240 --tolerance=1e-06 ../Buildings_latest_Buildings_Electrical_DC_Storage_Examples_Battery_OMSimulator-cs-cvode.fmu) > Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Storage_Examples_Battery.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches (rm -f Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-euler.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-euler.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Storage_Examples_Battery_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=432000 --stepSize=172.8 --mode=cs --timeout=240 --tolerance=1e-06 ../Buildings_latest_Buildings_Electrical_DC_Storage_Examples_Battery_OMSimulator-cs-euler.fmu) > Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Storage_Examples_Battery.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches (rm -f Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy_res.csv --output-variables 'bat.terminal.i[1]' 'loa.i[1]' bat.SOC 'sou.S[1]' bat.P 'loa.S[1]' --start-time 0 --stop-time 432000 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 172.8 ../Buildings_latest_Buildings_Electrical_DC_Storage_Examples_Battery.fmu) > Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Storage_Examples_Battery.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches (rm -f Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 432000 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 172.8 ../Buildings_latest_Buildings_Electrical_DC_Storage_Examples_Battery_fmpy-fmi3-cs-cvode.fmu) > Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Storage_Examples_Battery.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable bat.terminal.i[1] in file Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable bat.terminal.i[1] from file Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable loa.i[1] in file Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable loa.i[1] from file Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable bat.SOC in file Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable bat.SOC from file Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable sou.S[1] in file Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable sou.S[1] from file Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable bat.P in file Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable bat.P from file Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable loa.S[1] in file Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable loa.S[1] from file Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode_res.csv failed! " [Timeout remaining time 300] "" Variables in the reference:time,bat.terminal.i[1],loa.i[1],bat.SOC,sou.S[1],bat.P,loa.S[1] Variables in the result:time,bat.cha.SOC filterSimulationResults("Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode.diff.mat", vars={"loa.S[1]", "bat.P", "sou.S[1]", "bat.SOC", "loa.i[1]", "bat.terminal.i[1]"}, removeDescription=false) [Timeout 300] "Error: Could not read variable loa.S[1] in file Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 300] Failed to write the differing variables of Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Storage_Examples_Battery.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery_fmpy-fmi3-cs-cvode.diff.ref.mat", vars={"loa.S[1]", "bat.P", "sou.S[1]", "bat.SOC", "loa.i[1]", "bat.terminal.i[1]"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 7.849905110895634]