Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 195 kB / 16.14 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.216/1.216, allocations: 222.9 MB / 239.8 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.103/2.103, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 63.91 kB / 0.812 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5809/0.5821, allocations: 140.4 MB / 0.9491 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001854/0.584, allocations: 1.31 MB / 0.9504 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006243/0.5846, allocations: 486.5 kB / 0.9508 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.258e-05/0.5846, allocations: 1.625 kB / 0.9508 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.612e-05/0.5847, allocations: 0 / 0.9508 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.202e-05/0.5847, allocations: 7.922 kB / 0.9508 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.585, allocations: 38.48 kB / 0.9509 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.804e-05/0.585, allocations: 23.94 kB / 0.9509 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.481e-05/0.5851, allocations: 9.016 kB / 0.9509 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.944e-05/0.5851, allocations: 7.75 kB / 0.9509 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.04e-05/0.5851, allocations: 8.75 kB / 0.9509 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.076e-06/0.5851, allocations: 0 / 0.9509 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.5853, allocations: 71.19 kB / 0.951 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.353e-05/0.5853, allocations: 12.8 kB / 0.951 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.027e-05/0.5854, allocations: 13.2 kB / 0.951 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.5855, allocations: 59.61 kB / 0.9511 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.5855, allocations: 4 kB / 0.9511 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5855, allocations: 1.219 kB / 0.9511 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.5855, allocations: 0 / 0.9511 GB, free: 7.531 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002447/0.5857, allocations: 343.4 kB / 0.9514 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.5858, allocations: 10.31 kB / 0.9514 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.315e-05/0.5858, allocations: 32.75 kB / 0.9514 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.246e-05/0.5858, allocations: 0.9375 kB / 0.9514 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.419e-05/0.5859, allocations: 170 kB / 0.9516 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-06/0.5859, allocations: 4.312 kB / 0.9516 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-06/0.5859, allocations: 6.969 kB / 0.9516 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.596e-05/0.586, allocations: 51.75 kB / 0.9517 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-06/0.586, allocations: 5.031 kB / 0.9517 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.586, allocations: 0 / 0.9517 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.586, allocations: 0 / 0.9517 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.48e-05/0.5861, allocations: 12.25 kB / 0.9517 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.551e-05/0.5862, allocations: 152.5 kB / 0.9518 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.675e-05/0.5862, allocations: 36.06 kB / 0.9519 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.063e-05/0.5862, allocations: 21.11 kB / 0.9519 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-06/0.5862, allocations: 0 / 0.9519 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.36e-05/0.5863, allocations: 81.83 kB / 0.952 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.5863, allocations: 0 / 0.952 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0001756/0.5865, allocations: 92.36 kB / 0.9521 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.5866, allocations: 58.91 kB / 0.9521 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.564e-05/0.5866, allocations: 95.17 kB / 0.9522 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.5866, allocations: 32.58 kB / 0.9522 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.282e-05/0.5866, allocations: 80.14 kB / 0.9523 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.5866, allocations: 23.73 kB / 0.9523 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.5867, allocations: 28.03 kB / 0.9524 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.512e-05/0.5867, allocations: 316.7 kB / 0.9527 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.361e-05/0.5867, allocations: 19.64 kB / 0.9527 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.481e-05/0.5868, allocations: 66.91 kB / 0.9527 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.629e-05/0.5869, allocations: 98.95 kB / 0.9528 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5869, allocations: 5.312 kB / 0.9528 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001327/0.587, allocations: 118.2 kB / 0.953 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.587, allocations: 5.625 kB / 0.953 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.5871, allocations: 2.188 kB / 0.953 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.5871, allocations: 2.219 kB / 0.953 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.018e-05/0.5871, allocations: 14.06 kB / 0.953 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.5872, allocations: 5.688 kB / 0.953 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.233e-05/0.5872, allocations: 14.56 kB / 0.953 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.5872, allocations: 9.375 kB / 0.953 GB, free: 5.582 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (QAggShi_flow[5],$PRE.QAggShi_flow[5],QAggShi_flow[4],$PRE.QAggShi_flow[4],QAggShi_flow[3],$PRE.QAggShi_flow[3],QAggShi_flow[2],$PRE.QAggShi_flow[2],QAggShi_flow[1],$PRE.QAggShi_flow[1],curCel,$PRE.curCel,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 5.727e-05/0.5873, allocations: 123 kB / 0.9531 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-06/0.5873, allocations: 3.938 kB / 0.9531 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.49e-05/0.5873, allocations: 5 kB / 0.9531 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.5873, allocations: 0 / 0.9531 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.5873, allocations: 1.219 kB / 0.9531 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.5873, allocations: 0 / 0.9531 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.465e-05/0.5874, allocations: 157.4 kB / 0.9533 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.5874, allocations: 4 kB / 0.9533 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.128e-06/0.5874, allocations: 5.094 kB / 0.9533 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.5874, allocations: 3.938 kB / 0.9533 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.5874, allocations: 1.375 kB / 0.9533 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.5874, allocations: 5.062 kB / 0.9533 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5874, allocations: 3.984 kB / 0.9533 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.671e-05/0.5875, allocations: 98.47 kB / 0.9534 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.383e-05/0.5876, allocations: 90.25 kB / 0.9535 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.5876, allocations: 11.83 kB / 0.9535 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.247e-05/0.5876, allocations: 1.344 kB / 0.9535 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.645e-05/0.5876, allocations: 0 / 0.9535 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.5876, allocations: 3.875 kB / 0.9535 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.032e-05/0.5876, allocations: 75.28 kB / 0.9536 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5876, allocations: 0 / 0.9536 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002146/0.5879, allocations: 26.91 kB / 0.9536 GB, free: 4.957 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,curCel,QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of discrete states: 5 (QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002904/0.5882, allocations: 0.6774 MB / 0.9543 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001035/0.5883, allocations: 51.48 kB / 0.9543 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.5883, allocations: 0 / 0.9543 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.565e-05/0.5883, allocations: 24.14 kB / 0.9543 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/0.5884, allocations: 1.812 kB / 0.9543 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003029/0.5887, allocations: 167.2 kB / 0.9545 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.043e-05/0.5888, allocations: 0.6785 MB / 0.9552 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.978e-05/0.5889, allocations: 8.141 kB / 0.9552 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.849e-05/0.5889, allocations: 9.25 kB / 0.9552 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.5889, allocations: 0 / 0.9552 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6657/1.255, allocations: 1.446 MB / 0.9566 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/1.255, allocations: 277.4 kB / 0.9568 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.992/3.247, allocations: 0 / 0.9568 GB, free: 2.367 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells_fmu --startTime=3.5 --stopTime=5.5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches