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.0016/0.0016, allocations: 100.1 kB / 15.88 MB, free: 12 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.001985/0.001985, allocations: 200.6 kB / 16.79 MB, free: 6.809 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.393/1.393, allocations: 222.9 MB / 240.5 MB, free: 4.539 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.355/2.355, allocations: 390.2 MB / 0.6649 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 71.89 kB / 0.8126 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6499/0.6513, allocations: 140.4 MB / 0.9496 GB, free: 9.422 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001987/0.6533, allocations: 1.31 MB / 0.9509 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006652/0.654, allocations: 490.2 kB / 0.9514 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.282e-05/0.654, allocations: 1.156 kB / 0.9514 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.652e-05/0.6541, allocations: 0 / 0.9514 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.316e-05/0.6541, allocations: 1.094 kB / 0.9514 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.6544, allocations: 50.28 kB / 0.9514 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.874e-05/0.6544, allocations: 20.48 kB / 0.9514 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.412e-05/0.6545, allocations: 0 / 0.9514 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.897e-05/0.6545, allocations: 3.219 kB / 0.9514 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.526e-05/0.6545, allocations: 20.31 kB / 0.9515 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.145e-06/0.6546, allocations: 1.281 kB / 0.9515 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.6547, allocations: 63.67 kB / 0.9515 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.254e-05/0.6548, allocations: 17.11 kB / 0.9515 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.943e-05/0.6548, allocations: 11.69 kB / 0.9516 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.214e-05/0.6549, allocations: 49.88 kB / 0.9516 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.6549, allocations: 0 / 0.9516 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.72e-07/0.6549, allocations: 0 / 0.9516 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.6549, allocations: 1.281 kB / 0.9516 GB, free: 7.875 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.0002846/0.6552, allocations: 339.4 kB / 0.9519 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.6552, allocations: 9.219 kB / 0.9519 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.6553, allocations: 2.25 kB / 0.9519 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.142e-05/0.6553, allocations: 164.3 kB / 0.9521 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.6553, allocations: 1.594 kB / 0.9521 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.6554, allocations: 6.656 kB / 0.9521 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.999e-05/0.6555, allocations: 56.64 kB / 0.9522 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.6555, allocations: 0 / 0.9522 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.6555, allocations: 1.094 kB / 0.9522 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.6555, allocations: 0 / 0.9522 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.872e-05/0.6555, allocations: 15.69 kB / 0.9522 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001079/0.6557, allocations: 152.8 kB / 0.9523 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.845e-05/0.6557, allocations: 32.02 kB / 0.9523 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.56e-05/0.6557, allocations: 25.38 kB / 0.9524 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-06/0.6558, allocations: 0 / 0.9524 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001308/0.6559, allocations: 69.81 kB / 0.9524 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.6559, allocations: 0 / 0.9524 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000204/0.6561, allocations: 96.33 kB / 0.9525 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.6561, allocations: 66.83 kB / 0.9526 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.031e-05/0.6562, allocations: 95.02 kB / 0.9527 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.6562, allocations: 28.2 kB / 0.9527 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.472e-05/0.6562, allocations: 85.55 kB / 0.9528 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.6562, allocations: 14.39 kB / 0.9528 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.6563, allocations: 31.77 kB / 0.9528 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.655e-05/0.6563, allocations: 320.3 kB / 0.9531 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.753e-05/0.6564, allocations: 20.39 kB / 0.9532 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.366e-05/0.6564, allocations: 66.73 kB / 0.9532 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.928e-05/0.6565, allocations: 98.75 kB / 0.9533 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.6565, allocations: 1.562 kB / 0.9533 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001383/0.6567, allocations: 114.3 kB / 0.9534 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.6567, allocations: 10 kB / 0.9534 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.6567, allocations: 1.531 kB / 0.9534 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.6567, allocations: 3.094 kB / 0.9534 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.451e-05/0.6568, allocations: 12.73 kB / 0.9535 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.6568, allocations: 6.812 kB / 0.9535 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.366e-05/0.6569, allocations: 14.78 kB / 0.9535 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.6569, allocations: 7.5 kB / 0.9535 GB, free: 5.977 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 6.3e-05/0.6569, allocations: 128.3 kB / 0.9536 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-06/0.6569, allocations: 3.938 kB / 0.9536 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.667e-05/0.657, allocations: 5.312 kB / 0.9536 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.657, allocations: 0 / 0.9536 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.657, allocations: 0 / 0.9536 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.657, allocations: 1.594 kB / 0.9536 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.475e-05/0.6571, allocations: 152.8 kB / 0.9538 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.6571, allocations: 0 / 0.9538 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.947e-06/0.6571, allocations: 1.031 kB / 0.9538 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.6571, allocations: 7.938 kB / 0.9538 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.6571, allocations: 5.125 kB / 0.9538 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.6571, allocations: 5.031 kB / 0.9538 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.6571, allocations: 0 / 0.9538 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.6572, allocations: 103.7 kB / 0.9539 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.628e-05/0.6572, allocations: 86.3 kB / 0.954 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.6573, allocations: 7.547 kB / 0.954 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.237e-05/0.6573, allocations: 0 / 0.954 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.563e-05/0.6573, allocations: 13.11 kB / 0.954 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.6573, allocations: 2.375 kB / 0.954 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.044e-05/0.6573, allocations: 76.34 kB / 0.9541 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.6573, allocations: 0 / 0.9541 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002355/0.6576, allocations: 26.78 kB / 0.9541 GB, free: 5.348 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.0001591/0.6577, allocations: 131 kB / 0.9542 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001158/0.6579, allocations: 64.56 kB / 0.9543 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.6579, allocations: 0 / 0.9543 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.961e-05/0.6579, allocations: 15.44 kB / 0.9543 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.658, allocations: 1.219 kB / 0.9543 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000218/0.6583, allocations: 155.5 kB / 0.9544 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.74e-05/0.6584, allocations: 0.6788 MB / 0.9551 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.26e-05/0.6584, allocations: 10.38 kB / 0.9551 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6584, allocations: 0 / 0.9551 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of Templates: time 0.001883/0.6603, allocations: 0.8032 MB / 0.9559 GB, free: 3.961 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