Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QAggShi_flow.3.|QAggShi_flow.4.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QAggShi_flow.3.|QAggShi_flow.4.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007113/0.007113, allocations: 100.5 kB / 15.73 MB, free: 5.977 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.001603/0.001603, allocations: 197.2 kB / 16.67 MB, free: 5.914 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.672/2.672, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.91 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2677, allocations: 157.4 MB / 1.208 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002151/0.2698, allocations: 1.253 MB / 1.209 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008097/0.2707, allocations: 486.6 kB / 1.209 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.917e-05/0.2707, allocations: 0 / 1.209 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.536e-05/0.2707, allocations: 4 kB / 1.209 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.676e-05/0.2708, allocations: 7.984 kB / 1.209 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.2712, allocations: 55.81 kB / 1.21 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.92e-05/0.2712, allocations: 7.984 kB / 1.21 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.125e-05/0.2713, allocations: 4 kB / 1.21 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.045e-05/0.2713, allocations: 0 / 1.21 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.322e-05/0.2713, allocations: 7.984 kB / 1.21 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.296e-06/0.2713, allocations: 0 / 1.21 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.2715, allocations: 71.84 kB / 1.21 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.84e-05/0.2716, allocations: 16.48 kB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.655e-05/0.2716, allocations: 7.938 kB / 1.21 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.2718, allocations: 59.86 kB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2718, allocations: 0 / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2718, allocations: 0 / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.2718, allocations: 0 / 1.21 GB, free: 7.629 MB / 0.9669 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.0003615/0.2722, allocations: 347.3 kB / 1.21 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.2722, allocations: 12.62 kB / 1.21 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.2722, allocations: 0.9375 kB / 1.21 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.496e-05/0.2723, allocations: 164.4 kB / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.2724, allocations: 8.312 kB / 1.21 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.2724, allocations: 384 / 1.21 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.2725, allocations: 54 kB / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.2725, allocations: 0 / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.2725, allocations: 0 / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.2725, allocations: 3.984 kB / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.944e-05/0.2726, allocations: 12 kB / 1.21 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.2727, allocations: 157.7 kB / 1.21 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.775e-05/0.2728, allocations: 30.58 kB / 1.21 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.843e-05/0.2728, allocations: 24.94 kB / 1.21 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.963e-06/0.2728, allocations: 0 / 1.21 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001326/0.2729, allocations: 67.34 kB / 1.211 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.273, allocations: 0 / 1.211 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0002099/0.2732, allocations: 97.59 kB / 1.211 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.2732, allocations: 59.44 kB / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.651e-05/0.2733, allocations: 105.8 kB / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.2733, allocations: 25.7 kB / 1.211 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.97e-05/0.2733, allocations: 88.09 kB / 1.211 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.2734, allocations: 11.84 kB / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.191e-05/0.2734, allocations: 33.7 kB / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.2735, allocations: 314.8 kB / 1.211 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.988e-05/0.2736, allocations: 19.98 kB / 1.211 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.749e-05/0.2736, allocations: 80.17 kB / 1.211 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.2738, allocations: 97.88 kB / 1.211 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2738, allocations: 0 / 1.211 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001708/0.274, allocations: 113.4 kB / 1.212 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.274, allocations: 11.94 kB / 1.212 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.274, allocations: 224 / 1.212 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.274, allocations: 8 kB / 1.212 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.117e-05/0.2741, allocations: 15.92 kB / 1.212 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.2741, allocations: 4 kB / 1.212 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.293e-05/0.2742, allocations: 4 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.2742, allocations: 8 kB / 1.212 GB, free: 5.426 MB / 0.9669 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 0.0001038/0.2743, allocations: 122.3 kB / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.2743, allocations: 7.844 kB / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.451e-05/0.2743, allocations: 7.953 kB / 1.212 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.2743, allocations: 4 kB / 1.212 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.2743, allocations: 0 / 1.212 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2744, allocations: 0 / 1.212 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.2745, allocations: 157.6 kB / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2745, allocations: 0 / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.677e-06/0.2745, allocations: 0 / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.2745, allocations: 11.88 kB / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.2745, allocations: 0 / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2745, allocations: 0 / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2745, allocations: 0 / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.2746, allocations: 109.1 kB / 1.212 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.921e-05/0.2747, allocations: 85.03 kB / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.2747, allocations: 4 kB / 1.212 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.195e-05/0.2747, allocations: 0 / 1.212 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.697e-05/0.2748, allocations: 3.938 kB / 1.212 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.2748, allocations: 7.984 kB / 1.212 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.459e-05/0.2748, allocations: 79.31 kB / 1.212 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2748, allocations: 0 / 1.212 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002243/0.275, allocations: 24.03 kB / 1.212 GB, free: 4.715 MB / 0.9669 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.0001918/0.2752, allocations: 131.2 kB / 1.212 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000125/0.2754, allocations: 55.91 kB / 1.212 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2754, allocations: 3.938 kB / 1.212 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.888e-05/0.2754, allocations: 16 kB / 1.212 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.2755, allocations: 5.906 kB / 1.212 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002714/0.2758, allocations: 133.3 kB / 1.213 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.2761, allocations: 0.6729 MB / 1.213 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.942e-05/0.2761, allocations: 7.984 kB / 1.213 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.563e-05/0.2761, allocations: 11.44 kB / 1.213 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of SimCode: time 2e-07/0.2761, allocations: 0 / 1.213 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of Templates: time 0.00271/0.2788, allocations: 0.6757 MB / 1.214 GB, free: 3 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches