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: 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_9_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_9_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.001038/0.001039, allocations: 99.11 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 182.2 kB / 16.92 MB, free: 6.918 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.429/1.429, allocations: 223.3 MB / 241 MB, free: 5.355 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.373/2.373, allocations: 390.9 MB / 0.667 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003779, allocations: 12 kB / 0.8167 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7278/0.7282, allocations: 142.4 MB / 0.9558 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001329/0.7296, allocations: 0.9766 MB / 0.9567 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000828/0.7304, allocations: 472.3 kB / 0.9572 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.494e-05/0.7305, allocations: 0 / 0.9572 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.847e-05/0.7305, allocations: 1.406 kB / 0.9572 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.562e-05/0.7306, allocations: 4 kB / 0.9572 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.7309, allocations: 46.38 kB / 0.9572 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.185e-05/0.731, allocations: 23.84 kB / 0.9572 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.623e-05/0.731, allocations: 5.344 kB / 0.9572 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.376e-05/0.7311, allocations: 10.67 kB / 0.9572 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.107e-05/0.7311, allocations: 5.625 kB / 0.9572 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.316e-06/0.7311, allocations: 0 / 0.9572 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.7313, allocations: 67.27 kB / 0.9573 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.232e-05/0.7313, allocations: 16.59 kB / 0.9573 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.043e-05/0.7314, allocations: 37.97 kB / 0.9574 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.7315, allocations: 46.5 kB / 0.9574 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.7315, allocations: 0 / 0.9574 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7315, allocations: 0 / 0.9574 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.904e-06/0.7315, allocations: 0 / 0.9574 GB, free: 6.414 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.000266/0.7318, allocations: 327.7 kB / 0.9577 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.7318, allocations: 9.25 kB / 0.9577 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.7319, allocations: 5.938 kB / 0.9577 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.439e-05/0.7319, allocations: 169.5 kB / 0.9579 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.732, allocations: 1.469 kB / 0.9579 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.732, allocations: 6.469 kB / 0.9579 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.7321, allocations: 60.92 kB / 0.958 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.7321, allocations: 0 / 0.958 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.7321, allocations: 0 / 0.958 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.7321, allocations: 0 / 0.958 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.757e-05/0.7322, allocations: 7.531 kB / 0.958 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001028/0.7323, allocations: 153.8 kB / 0.9581 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.284e-05/0.7323, allocations: 31.77 kB / 0.9581 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.42e-05/0.7324, allocations: 28.25 kB / 0.9582 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-06/0.7324, allocations: 1.094 kB / 0.9582 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001296/0.7325, allocations: 69.06 kB / 0.9582 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.7325, allocations: 0 / 0.9582 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002046/0.7327, allocations: 100.8 kB / 0.9583 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.7328, allocations: 59.61 kB / 0.9584 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.906e-05/0.7328, allocations: 93.86 kB / 0.9585 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.7328, allocations: 36.05 kB / 0.9585 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.241e-05/0.7328, allocations: 81.36 kB / 0.9586 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.7329, allocations: 15.25 kB / 0.9586 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.7329, allocations: 21.89 kB / 0.9586 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.567e-05/0.7329, allocations: 317.3 kB / 0.9589 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.802e-05/0.733, allocations: 20.83 kB / 0.959 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.249e-05/0.733, allocations: 75.05 kB / 0.959 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.275e-05/0.7331, allocations: 93.84 kB / 0.9591 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7332, allocations: 1.875 kB / 0.9591 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001335/0.7333, allocations: 115.2 kB / 0.9592 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.7333, allocations: 8.25 kB / 0.9592 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.7333, allocations: 1.344 kB / 0.9592 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.7333, allocations: 2.656 kB / 0.9592 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.955e-05/0.7334, allocations: 14.08 kB / 0.9593 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.7334, allocations: 6.812 kB / 0.9593 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.399e-05/0.7335, allocations: 15.53 kB / 0.9593 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.7335, allocations: 3.625 kB / 0.9593 GB, free: 4.523 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 7.65e-05/0.7336, allocations: 123.4 kB / 0.9594 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.859e-06/0.7336, allocations: 11.92 kB / 0.9594 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.905e-05/0.7336, allocations: 5.406 kB / 0.9594 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.7336, allocations: 0 / 0.9594 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.7336, allocations: 1.438 kB / 0.9594 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.7336, allocations: 4 kB / 0.9594 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.026e-05/0.7337, allocations: 148.5 kB / 0.9596 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.7337, allocations: 4.812 kB / 0.9596 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.146e-06/0.7337, allocations: 0 / 0.9596 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.7337, allocations: 4.938 kB / 0.9596 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.7338, allocations: 4.875 kB / 0.9596 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.7338, allocations: 0.8438 kB / 0.9596 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7338, allocations: 0 / 0.9596 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.7339, allocations: 116.1 kB / 0.9597 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.934e-05/0.7339, allocations: 84.95 kB / 0.9598 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.7339, allocations: 4.031 kB / 0.9598 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.276e-05/0.734, allocations: 0.9062 kB / 0.9598 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.953e-05/0.734, allocations: 9.031 kB / 0.9598 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.734, allocations: 2.688 kB / 0.9598 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.492e-05/0.734, allocations: 79.22 kB / 0.9599 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.734, allocations: 0 / 0.9599 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002231/0.7342, allocations: 28.31 kB / 0.9599 GB, free: 3.887 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.0001737/0.7344, allocations: 128.2 kB / 0.96 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001273/0.7346, allocations: 55.12 kB / 0.9601 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7346, allocations: 0 / 0.9601 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.297e-05/0.7346, allocations: 20.25 kB / 0.9601 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.7348, allocations: 3.703 kB / 0.9601 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/0.735, allocations: 160.2 kB / 0.9602 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.7351, allocations: 0.6749 MB / 0.9609 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.414e-05/0.7352, allocations: 9.688 kB / 0.9609 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of SimCode: time 2.81e-07/0.7352, allocations: 0 / 0.9609 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of Templates: time 0.002083/0.7373, allocations: 0.8003 MB / 0.9617 GB, free: 2.504 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (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 & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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) "" Variables in the reference:time,QAggShi_flow[3],QAggShi_flow[4] Variables in the result:QAggShi_flow[3],QAggShi_flow[4],time