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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.002253/0.002253, allocations: 104.1 kB / 16.41 MB, free: 6.508 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.00245/0.00245, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.56/2.56, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 63.91 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1/1.102, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.00248/1.105, allocations: 1.247 MB / 1.169 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008718/1.106, allocations: 497.2 kB / 1.169 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.847e-05/1.106, allocations: 3.938 kB / 1.169 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.907e-05/1.106, allocations: 0 / 1.169 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.766e-05/1.106, allocations: 0 / 1.169 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/1.106, allocations: 55.81 kB / 1.169 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.21e-05/1.106, allocations: 7.984 kB / 1.169 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.848e-05/1.106, allocations: 8 kB / 1.169 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.678e-05/1.106, allocations: 8 kB / 1.169 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.813e-05/1.106, allocations: 7.969 kB / 1.169 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/1.106, allocations: 0 / 1.169 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/1.106, allocations: 67.86 kB / 1.169 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.428e-05/1.107, allocations: 7.984 kB / 1.169 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.407e-05/1.107, allocations: 11.94 kB / 1.169 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000147/1.107, allocations: 67.78 kB / 1.169 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/1.107, allocations: 0 / 1.169 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.034e-06/1.107, allocations: 0 / 1.169 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.598e-06/1.107, allocations: 0 / 1.169 GB, free: 1.859 MB / 0.8887 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.0004009/1.107, allocations: 335.4 kB / 1.17 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/1.107, allocations: 12.92 kB / 1.17 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/1.107, allocations: 4.844 kB / 1.17 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/1.107, allocations: 160.4 kB / 1.17 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/1.107, allocations: 8.375 kB / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/1.107, allocations: 384 / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/1.108, allocations: 57.98 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/1.108, allocations: 0 / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/1.108, allocations: 0 / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/1.108, allocations: 4 kB / 1.17 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.978e-05/1.108, allocations: 11.94 kB / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/1.108, allocations: 157.7 kB / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.908e-05/1.108, allocations: 26.64 kB / 1.17 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.119e-05/1.108, allocations: 24.94 kB / 1.17 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-06/1.108, allocations: 0 / 1.17 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001421/1.108, allocations: 79.33 kB / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/1.108, allocations: 3.938 kB / 1.17 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of matching and sorting (n=7): time 0.0002076/1.108, allocations: 89.67 kB / 1.17 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/1.108, allocations: 59.39 kB / 1.17 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.056e-05/1.108, allocations: 93.86 kB / 1.17 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/1.108, allocations: 29.7 kB / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/1.108, allocations: 84.14 kB / 1.17 GB, free: 456 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/1.108, allocations: 13.64 kB / 1.17 GB, free: 444 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/1.108, allocations: 37.73 kB / 1.171 GB, free: 400 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001103/1.109, allocations: 314.8 kB / 1.171 GB, free: 76 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.909e-05/1.109, allocations: 23.98 kB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.722e-05/1.109, allocations: 69.92 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/1.109, allocations: 93.94 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-06/1.109, allocations: 0 / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001575/1.109, allocations: 121.4 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/1.109, allocations: 15.88 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/1.109, allocations: 0 / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/1.109, allocations: 7.938 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.102e-05/1.109, allocations: 11.98 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/1.109, allocations: 4 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.382e-05/1.109, allocations: 7.938 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/1.109, allocations: 4 kB / 1.171 GB, free: 15.67 MB / 0.9044 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.864e-05/1.109, allocations: 130 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/1.109, allocations: 7.922 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.757e-05/1.109, allocations: 7.969 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/1.109, allocations: 0 / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/1.109, allocations: 0 / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/1.109, allocations: 0 / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/1.11, allocations: 153.6 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/1.11, allocations: 0 / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.47e-06/1.11, allocations: 4 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/1.11, allocations: 7.938 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/1.11, allocations: 0 / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/1.11, allocations: 0 / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/1.11, allocations: 0 / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/1.11, allocations: 113 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.882e-05/1.11, allocations: 81.05 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/1.11, allocations: 4 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.15e-05/1.11, allocations: 0 / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.498e-05/1.11, allocations: 8.016 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/1.11, allocations: 8 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.259e-05/1.11, allocations: 79.28 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of sort global known variables: time 9e-08/1.11, allocations: 0 / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002253/1.11, allocations: 27.94 kB / 1.172 GB, free: 14.95 MB / 0.9044 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.0001923/1.11, allocations: 120.1 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001381/1.11, allocations: 64.16 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.11, allocations: 0 / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.277e-05/1.11, allocations: 16 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/1.111, allocations: 3.938 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003065/1.111, allocations: 155 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/1.111, allocations: 0.6845 MB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.456e-05/1.111, allocations: 7.438 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/1.111, allocations: 4 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of Templates: time 0.002336/1.114, allocations: 0.8163 MB / 1.174 GB, free: 13.03 MB / 0.9044 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 -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) "" Variables in the reference:time,QAggShi_flow[3],QAggShi_flow[4] Variables in the result:QAggShi_flow[3],QAggShi_flow[4],time