Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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: 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_10_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_10_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.00157/0.00157, allocations: 112.6 kB / 16.37 MB, free: 6 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.00183/0.00183, allocations: 196 kB / 17.31 MB, free: 5.613 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.418/2.418, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001175, allocations: 63.73 kB / 0.8707 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.278, allocations: 151.6 MB / 1.019 GB, free: 9.875 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002226/0.2803, allocations: 1.255 MB / 1.02 GB, free: 8.605 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000829/0.2811, allocations: 496.3 kB / 1.021 GB, free: 8.117 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.783e-05/0.2812, allocations: 0 / 1.021 GB, free: 8.117 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.737e-05/0.2812, allocations: 3.938 kB / 1.021 GB, free: 8.113 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.092e-05/0.2813, allocations: 0 / 1.021 GB, free: 8.113 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.2816, allocations: 47.86 kB / 1.021 GB, free: 8.066 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.656e-05/0.2816, allocations: 8 kB / 1.021 GB, free: 8.059 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.784e-05/0.2817, allocations: 0 / 1.021 GB, free: 8.059 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.465e-05/0.2817, allocations: 7.984 kB / 1.021 GB, free: 8.051 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.627e-05/0.2818, allocations: 19.92 kB / 1.021 GB, free: 8.031 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.015e-06/0.2818, allocations: 3.938 kB / 1.021 GB, free: 8.027 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.282, allocations: 63.86 kB / 1.021 GB, free: 7.965 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.59e-05/0.282, allocations: 15.98 kB / 1.021 GB, free: 7.949 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.541e-05/0.282, allocations: 4 kB / 1.021 GB, free: 7.945 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.2822, allocations: 59.84 kB / 1.021 GB, free: 7.887 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2822, allocations: 0 / 1.021 GB, free: 7.887 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2822, allocations: 0 / 1.021 GB, free: 7.887 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.2822, allocations: 3.938 kB / 1.021 GB, free: 7.883 MB / 0.795 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.0003087/0.2825, allocations: 337.9 kB / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.2825, allocations: 12.92 kB / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.804e-05/0.2826, allocations: 4.938 kB / 1.021 GB, free: 7.492 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.001e-05/0.2827, allocations: 160.4 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.2827, allocations: 384 / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.2827, allocations: 8.359 kB / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.227e-05/0.2828, allocations: 53.94 kB / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.2828, allocations: 0 / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.2828, allocations: 0 / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2828, allocations: 7.984 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.348e-05/0.2829, allocations: 8 kB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001274/0.283, allocations: 161.6 kB / 1.021 GB, free: 7.008 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 4.63e-05/0.283, allocations: 38.56 kB / 1.022 GB, free: 6.961 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.325e-05/0.2831, allocations: 16.95 kB / 1.022 GB, free: 6.941 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-06/0.2831, allocations: 0 / 1.022 GB, free: 6.941 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001157/0.2832, allocations: 71.27 kB / 1.022 GB, free: 6.859 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.2832, allocations: 4 kB / 1.022 GB, free: 6.855 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0001855/0.2834, allocations: 93.67 kB / 1.022 GB, free: 6.758 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.2835, allocations: 63.39 kB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.791e-05/0.2835, allocations: 89.86 kB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.2835, allocations: 33.7 kB / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.423e-05/0.2836, allocations: 80.14 kB / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.2836, allocations: 23.73 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.2836, allocations: 25.72 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.73e-05/0.2837, allocations: 326.8 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.837e-05/0.2838, allocations: 23.98 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.835e-05/0.2838, allocations: 62 kB / 1.022 GB, free: 5.977 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.2839, allocations: 97.92 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.284, allocations: 0 / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001478/0.2841, allocations: 117.6 kB / 1.023 GB, free: 5.738 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.2841, allocations: 7.938 kB / 1.023 GB, free: 5.73 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2841, allocations: 4 kB / 1.023 GB, free: 5.727 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.2842, allocations: 0 / 1.023 GB, free: 5.727 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.048e-05/0.2842, allocations: 23.98 kB / 1.023 GB, free: 5.703 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.2842, allocations: 3.938 kB / 1.023 GB, free: 5.699 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.333e-05/0.2843, allocations: 7.906 kB / 1.023 GB, free: 5.691 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.2843, allocations: 4 kB / 1.023 GB, free: 5.688 MB / 0.795 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 8.905e-05/0.2844, allocations: 128.6 kB / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.097e-05/0.2844, allocations: 3.938 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.083e-05/0.2844, allocations: 3.969 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.2844, allocations: 4 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2845, allocations: 3.938 kB / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.2845, allocations: 0 / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.2846, allocations: 157.6 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2846, allocations: 0 / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.396e-06/0.2846, allocations: 0 / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.2846, allocations: 3.938 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.2846, allocations: 0 / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-06/0.2846, allocations: 11.94 kB / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2846, allocations: 0 / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.2847, allocations: 112.9 kB / 1.023 GB, free: 5.188 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.487e-05/0.2848, allocations: 81.05 kB / 1.023 GB, free: 5.09 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.2848, allocations: 7.984 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.187e-05/0.2848, allocations: 0 / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/0.2848, allocations: 4 kB / 1.023 GB, free: 5.078 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.2849, allocations: 32 / 1.023 GB, free: 5.078 MB / 0.795 GB Notification: Performance of sorting global known variables: time 2.329e-05/0.2849, allocations: 83.28 kB / 1.023 GB, free: 4.996 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2849, allocations: 0 / 1.023 GB, free: 4.996 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000218/0.2851, allocations: 20 kB / 1.023 GB, free: 4.977 MB / 0.795 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.000204/0.2853, allocations: 120.9 kB / 1.023 GB, free: 4.848 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001223/0.2855, allocations: 59.84 kB / 1.023 GB, free: 4.789 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2855, allocations: 448 / 1.023 GB, free: 4.789 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.743e-05/0.2855, allocations: 27.98 kB / 1.023 GB, free: 4.762 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.2856, allocations: 4 kB / 1.023 GB, free: 4.758 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000272/0.2859, allocations: 113.6 kB / 1.024 GB, free: 4.621 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.2861, allocations: 0.6768 MB / 1.024 GB, free: 3.918 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.871e-05/0.2861, allocations: 4 kB / 1.024 GB, free: 3.914 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.52e-05/0.2862, allocations: 11.44 kB / 1.024 GB, free: 3.906 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.2862, allocations: 0 / 1.024 GB, free: 3.906 MB / 0.795 GB Notification: Performance of Templates: time 0.002527/0.2887, allocations: 0.6608 MB / 1.025 GB, free: 3.289 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches