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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001513/0.001513, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001786/0.001787, allocations: 191 kB / 16.25 MB, free: 6.637 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.312/1.312, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.256/2.256, allocations: 390.2 MB / 0.6644 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 63.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5038/0.5051, allocations: 140.4 MB / 0.9493 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001738/0.5069, allocations: 1.305 MB / 0.9506 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005512/0.5074, allocations: 479.8 kB / 0.951 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.254e-05/0.5074, allocations: 0 / 0.951 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.65e-05/0.5075, allocations: 0 / 0.951 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.826e-05/0.5075, allocations: 9.359 kB / 0.951 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.5078, allocations: 41.77 kB / 0.9511 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.436e-05/0.5078, allocations: 18.8 kB / 0.9511 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.315e-05/0.5079, allocations: 1.375 kB / 0.9511 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.704e-05/0.5079, allocations: 8.125 kB / 0.9511 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.791e-05/0.5079, allocations: 12.09 kB / 0.9511 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.492e-06/0.5079, allocations: 1.375 kB / 0.9511 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.5081, allocations: 68.61 kB / 0.9512 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.83e-05/0.5081, allocations: 9.484 kB / 0.9512 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.25e-05/0.5081, allocations: 12.94 kB / 0.9512 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.877e-05/0.5082, allocations: 57.59 kB / 0.9512 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.5083, allocations: 0 / 0.9512 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5083, allocations: 0 / 0.9512 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.5083, allocations: 5.219 kB / 0.9512 GB, free: 7.586 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.0002277/0.5085, allocations: 342.7 kB / 0.9516 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.5085, allocations: 9.594 kB / 0.9516 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.346e-05/0.5086, allocations: 35.97 kB / 0.9516 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.428e-05/0.5086, allocations: 2.375 kB / 0.9516 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.11e-05/0.5086, allocations: 169.7 kB / 0.9518 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.5087, allocations: 6.016 kB / 0.9518 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.5087, allocations: 1.719 kB / 0.9518 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.134e-05/0.5088, allocations: 55.69 kB / 0.9518 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.159e-06/0.5088, allocations: 1.125 kB / 0.9518 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.443e-06/0.5088, allocations: 8 kB / 0.9518 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-06/0.5088, allocations: 0 / 0.9518 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.209e-05/0.5088, allocations: 11.94 kB / 0.9519 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.79e-05/0.5089, allocations: 152.9 kB / 0.952 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.492e-05/0.5089, allocations: 31.78 kB / 0.952 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.863e-05/0.509, allocations: 17.02 kB / 0.9521 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.581e-06/0.509, allocations: 0 / 0.9521 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.125e-05/0.5091, allocations: 81.94 kB / 0.9521 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.5091, allocations: 0 / 0.9521 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000157/0.5092, allocations: 92.62 kB / 0.9522 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.5093, allocations: 59.17 kB / 0.9523 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.542e-05/0.5093, allocations: 95.2 kB / 0.9524 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.5093, allocations: 28.17 kB / 0.9524 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.131e-05/0.5093, allocations: 84.14 kB / 0.9525 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.5093, allocations: 19.77 kB / 0.9525 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.5094, allocations: 26.72 kB / 0.9525 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.255e-05/0.5094, allocations: 321.1 kB / 0.9528 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.387e-05/0.5094, allocations: 24.83 kB / 0.9528 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.238e-05/0.5095, allocations: 66.91 kB / 0.9529 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.485e-05/0.5096, allocations: 99.2 kB / 0.953 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5096, allocations: 0 / 0.953 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001251/0.5097, allocations: 118.6 kB / 0.9531 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.5097, allocations: 6.312 kB / 0.9531 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.5097, allocations: 1.031 kB / 0.9531 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.5098, allocations: 6.266 kB / 0.9531 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.78e-05/0.5098, allocations: 9.875 kB / 0.9531 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.5098, allocations: 2.719 kB / 0.9531 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.091e-05/0.5099, allocations: 18.28 kB / 0.9532 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.5099, allocations: 5 kB / 0.9532 GB, free: 5.641 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.362e-05/0.5099, allocations: 135.5 kB / 0.9533 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.727e-06/0.51, allocations: 3.938 kB / 0.9533 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.353e-05/0.51, allocations: 5.375 kB / 0.9533 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.51, allocations: 3.938 kB / 0.9533 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.51, allocations: 1.312 kB / 0.9533 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.51, allocations: 0 / 0.9533 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.878e-05/0.5101, allocations: 153.3 kB / 0.9535 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.5101, allocations: 0 / 0.9535 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.529e-06/0.5101, allocations: 9.094 kB / 0.9535 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.5101, allocations: 0 / 0.9535 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.5101, allocations: 1.219 kB / 0.9535 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.5101, allocations: 0 / 0.9535 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.5101, allocations: 1.062 kB / 0.9535 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.081e-05/0.5102, allocations: 110.4 kB / 0.9536 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.313e-05/0.5102, allocations: 86.45 kB / 0.9537 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.5102, allocations: 7.516 kB / 0.9537 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.223e-05/0.5102, allocations: 9.719 kB / 0.9537 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.185e-05/0.5103, allocations: 0 / 0.9537 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.5103, allocations: 3.531 kB / 0.9537 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.965e-06/0.5103, allocations: 75.28 kB / 0.9537 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.5103, allocations: 0 / 0.9537 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002057/0.5105, allocations: 22.09 kB / 0.9538 GB, free: 5.008 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.0002713/0.5108, allocations: 0.6698 MB / 0.9544 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.5109, allocations: 56.84 kB / 0.9545 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.5109, allocations: 0 / 0.9545 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.37e-05/0.5109, allocations: 19.12 kB / 0.9545 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000122/0.5111, allocations: 5.891 kB / 0.9545 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002913/0.5113, allocations: 153.3 kB / 0.9546 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.892e-05/0.5114, allocations: 0.6822 MB / 0.9553 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.828e-05/0.5115, allocations: 4.375 kB / 0.9553 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.894e-05/0.5115, allocations: 17.45 kB / 0.9553 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of SimCode: time 8.22e-07/0.5115, allocations: 0 / 0.9553 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.957/2.468, allocations: 1.494 MB / 0.9568 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/2.468, allocations: 280 kB / 0.9571 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.537/4.005, allocations: 0 / 0.9571 GB, free: 2.41 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