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.001872/0.001872, allocations: 115.2 kB / 16.37 MB, free: 5.984 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.002028/0.002029, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.233/2.233, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 66.39 kB / 0.8141 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2754, allocations: 140.4 MB / 0.9512 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002573/0.2781, allocations: 1.246 MB / 0.9524 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009116/0.279, allocations: 488.9 kB / 0.9529 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.306e-05/0.2791, allocations: 4 kB / 0.9529 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.06e-05/0.2791, allocations: 3.938 kB / 0.9529 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.76e-05/0.2792, allocations: 7.984 kB / 0.9529 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.2795, allocations: 47.88 kB / 0.9529 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.55e-05/0.2796, allocations: 15.98 kB / 0.9529 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.2796, allocations: 0 / 0.9529 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.311e-05/0.2797, allocations: 7.984 kB / 0.9529 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.375e-05/0.2797, allocations: 0 / 0.9529 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.2797, allocations: 4 kB / 0.9529 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.2799, allocations: 75.78 kB / 0.953 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.404e-05/0.2799, allocations: 7.938 kB / 0.953 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.44e-05/0.28, allocations: 11.98 kB / 0.953 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.2801, allocations: 63.84 kB / 0.9531 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2802, allocations: 0 / 0.9531 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.444e-06/0.2802, allocations: 0 / 0.9531 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.2802, allocations: 0 / 0.9531 GB, free: 6.074 MB / 0.7325 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.0004156/0.2806, allocations: 339.4 kB / 0.9534 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.2806, allocations: 8.031 kB / 0.9534 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.2807, allocations: 8.922 kB / 0.9534 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.2808, allocations: 168.4 kB / 0.9536 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.2808, allocations: 384 / 0.9536 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.2808, allocations: 4.359 kB / 0.9536 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.281, allocations: 61.88 kB / 0.9537 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.281, allocations: 0 / 0.9537 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.281, allocations: 0 / 0.9537 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.281, allocations: 0 / 0.9537 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.885e-05/0.281, allocations: 11.98 kB / 0.9537 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001525/0.2812, allocations: 153.7 kB / 0.9538 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.823e-05/0.2812, allocations: 34.62 kB / 0.9538 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.259e-05/0.2813, allocations: 16.95 kB / 0.9539 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-06/0.2813, allocations: 0 / 0.9539 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001407/0.2814, allocations: 79.17 kB / 0.9539 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.2814, allocations: 0 / 0.9539 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0002061/0.2817, allocations: 97.67 kB / 0.954 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.2817, allocations: 55.41 kB / 0.9541 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.978e-05/0.2818, allocations: 89.86 kB / 0.9542 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.2818, allocations: 37.62 kB / 0.9542 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.057e-05/0.2818, allocations: 84.14 kB / 0.9543 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.2819, allocations: 19.75 kB / 0.9543 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.2819, allocations: 25.72 kB / 0.9543 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.282, allocations: 318.8 kB / 0.9546 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.126e-05/0.2821, allocations: 31.95 kB / 0.9547 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.621e-05/0.2822, allocations: 62 kB / 0.9547 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.2823, allocations: 97.92 kB / 0.9548 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2823, allocations: 0 / 0.9548 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002043/0.2825, allocations: 113.5 kB / 0.9549 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.2825, allocations: 12.16 kB / 0.9549 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2825, allocations: 4 kB / 0.9549 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.2825, allocations: 4 kB / 0.9549 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.315e-05/0.2826, allocations: 8 kB / 0.955 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.2827, allocations: 4 kB / 0.955 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.292e-05/0.2827, allocations: 11.84 kB / 0.955 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.2827, allocations: 8 kB / 0.955 GB, free: 3.879 MB / 0.7325 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.0001099/0.2828, allocations: 121.8 kB / 0.9551 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.2828, allocations: 3.938 kB / 0.9551 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.364e-05/0.2829, allocations: 7.969 kB / 0.9551 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.2829, allocations: 0 / 0.9551 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2829, allocations: 0 / 0.9551 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.2829, allocations: 8 kB / 0.9551 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.283, allocations: 153.6 kB / 0.9553 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.283, allocations: 4 kB / 0.9553 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.387e-06/0.283, allocations: 0 / 0.9553 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.283, allocations: 3.938 kB / 0.9553 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.2831, allocations: 3.984 kB / 0.9553 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2831, allocations: 3.938 kB / 0.9553 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2831, allocations: 4 kB / 0.9553 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.2832, allocations: 109 kB / 0.9554 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/0.2832, allocations: 85.03 kB / 0.9555 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.2833, allocations: 4 kB / 0.9555 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.275e-05/0.2833, allocations: 4 kB / 0.9555 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.2833, allocations: 0 / 0.9555 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.2833, allocations: 4 kB / 0.9555 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.381e-05/0.2834, allocations: 83.25 kB / 0.9555 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2834, allocations: 0 / 0.9555 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002199/0.2836, allocations: 24 kB / 0.9556 GB, free: 3.164 MB / 0.7325 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.0001948/0.2838, allocations: 123.2 kB / 0.9557 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001382/0.2839, allocations: 63.84 kB / 0.9558 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.284, allocations: 0 / 0.9558 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.047e-05/0.284, allocations: 16.44 kB / 0.9558 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.2841, allocations: 6.031 kB / 0.9558 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002699/0.2844, allocations: 113.6 kB / 0.9559 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.2847, allocations: 0.6844 MB / 0.9565 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.282e-05/0.2847, allocations: 7.984 kB / 0.9566 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.549e-05/0.2847, allocations: 7.438 kB / 0.9566 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.2847, allocations: 0 / 0.9566 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of Templates: time 0.002906/0.2877, allocations: 0.669 MB / 0.9572 GB, free: 1.469 MB / 0.7325 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 -s cvode -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) Reference file matches