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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.000953/0.0009527, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007823/0.007823, allocations: 169.9 kB / 16.26 MB, free: 6.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.389/1.389, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.375/2.375, allocations: 390.9 MB / 0.6663 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005829/0.0005831, allocations: 12 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7382/0.7388, allocations: 142.4 MB / 0.9551 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001908/0.7408, allocations: 0.9777 MB / 0.956 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.7421, allocations: 480.6 kB / 0.9565 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.907e-05/0.7421, allocations: 0 / 0.9565 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.922e-05/0.7422, allocations: 0.9688 kB / 0.9565 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.639e-05/0.7423, allocations: 0.875 kB / 0.9565 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.7427, allocations: 46.47 kB / 0.9565 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.967e-05/0.7428, allocations: 28.09 kB / 0.9566 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.902e-05/0.7429, allocations: 4.844 kB / 0.9566 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.898e-05/0.7429, allocations: 2.5 kB / 0.9566 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.449e-05/0.743, allocations: 9.297 kB / 0.9566 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.743, allocations: 0 / 0.9566 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002298/0.7432, allocations: 63.64 kB / 0.9566 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.686e-05/0.7433, allocations: 12.92 kB / 0.9567 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.269e-05/0.7434, allocations: 38.53 kB / 0.9567 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.7436, allocations: 67.48 kB / 0.9568 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.7436, allocations: 0 / 0.9568 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7436, allocations: 4 kB / 0.9568 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.7436, allocations: 0 / 0.9568 GB, free: 6.52 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.0003661/0.744, allocations: 332.4 kB / 0.9571 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.7441, allocations: 12.72 kB / 0.9571 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.774e-05/0.7441, allocations: 2.344 kB / 0.9571 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.398e-05/0.7442, allocations: 173.7 kB / 0.9573 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.7442, allocations: 384 / 0.9573 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.7443, allocations: 5.469 kB / 0.9573 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.7444, allocations: 53.47 kB / 0.9573 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.7444, allocations: 1 kB / 0.9573 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.7444, allocations: 0 / 0.9573 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.7445, allocations: 0.875 kB / 0.9573 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.118e-05/0.7445, allocations: 10.69 kB / 0.9573 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.7447, allocations: 157.7 kB / 0.9575 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.735e-05/0.7448, allocations: 35.19 kB / 0.9575 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.714e-05/0.7448, allocations: 21.05 kB / 0.9575 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.7448, allocations: 5 kB / 0.9575 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.745, allocations: 68.89 kB / 0.9576 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.933e-06/0.745, allocations: 1.594 kB / 0.9576 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002795/0.7453, allocations: 95.41 kB / 0.9577 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.7454, allocations: 58.7 kB / 0.9578 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.939e-05/0.7454, allocations: 95.14 kB / 0.9578 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.7454, allocations: 28.86 kB / 0.9579 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.068e-05/0.7455, allocations: 84.17 kB / 0.958 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.7455, allocations: 23.69 kB / 0.958 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.7456, allocations: 18.28 kB / 0.958 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.759e-05/0.7456, allocations: 320.3 kB / 0.9583 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.245e-05/0.7457, allocations: 23.95 kB / 0.9583 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.805e-05/0.7458, allocations: 63.94 kB / 0.9584 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.746, allocations: 101.9 kB / 0.9585 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.746, allocations: 5.438 kB / 0.9585 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002491/0.7463, allocations: 106.2 kB / 0.9586 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.7463, allocations: 9.531 kB / 0.9586 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.7463, allocations: 1.781 kB / 0.9586 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.7463, allocations: 7.672 kB / 0.9586 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.7465, allocations: 12.84 kB / 0.9586 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.7465, allocations: 3.594 kB / 0.9586 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.668e-05/0.7466, allocations: 13.84 kB / 0.9586 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.7466, allocations: 9.375 kB / 0.9586 GB, free: 4.621 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 0.0001102/0.7467, allocations: 126.6 kB / 0.9588 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.7467, allocations: 5.719 kB / 0.9588 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.792e-05/0.7468, allocations: 3.969 kB / 0.9588 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.7468, allocations: 3.984 kB / 0.9588 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.7468, allocations: 0 / 0.9588 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.7468, allocations: 1.812 kB / 0.9588 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.7469, allocations: 153.3 kB / 0.9589 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.7469, allocations: 4 kB / 0.9589 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.43e-06/0.747, allocations: 3.938 kB / 0.9589 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.747, allocations: 3.938 kB / 0.9589 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.747, allocations: 2.062 kB / 0.9589 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.747, allocations: 0 / 0.9589 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.747, allocations: 2.484 kB / 0.9589 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.7472, allocations: 105.2 kB / 0.959 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.611e-05/0.7472, allocations: 86.33 kB / 0.9591 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.7473, allocations: 12.14 kB / 0.9591 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.089e-05/0.7473, allocations: 0 / 0.9591 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.7473, allocations: 1.375 kB / 0.9591 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.7474, allocations: 2.75 kB / 0.9591 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.557e-05/0.7474, allocations: 75.28 kB / 0.9592 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7474, allocations: 0 / 0.9592 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004028/0.7478, allocations: 27.19 kB / 0.9592 GB, free: 3.996 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.0002459/0.7481, allocations: 128.4 kB / 0.9594 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001796/0.7483, allocations: 59.59 kB / 0.9594 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.7483, allocations: 0 / 0.9594 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.576e-05/0.7483, allocations: 18.98 kB / 0.9594 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.7485, allocations: 1.375 kB / 0.9594 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003265/0.7489, allocations: 130.8 kB / 0.9596 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.749, allocations: 0.6822 MB / 0.9602 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.337e-05/0.7491, allocations: 7.641 kB / 0.9602 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.956e-05/0.7491, allocations: 10.28 kB / 0.9602 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of SimCode: time 7.31e-07/0.7491, allocations: 0 / 0.9602 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of Templates: time 0.004008/0.7531, allocations: 0.6289 MB / 0.9609 GB, free: 2.73 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/jenkins/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) Reference file matches