Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001785/0.001785, allocations: 198.1 kB / 16.26 MB, free: 6.625 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.399/1.399, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.091/3.091, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 65.55 kB / 0.8987 GB, free: 37.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2924, allocations: 157.4 MB / 1.052 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002451/0.2949, allocations: 1.306 MB / 1.054 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008206/0.2957, allocations: 0.4908 MB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.854e-05/0.2957, allocations: 4 kB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.719e-05/0.2958, allocations: 0 / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.816e-05/0.2959, allocations: 0 / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.2962, allocations: 47.88 kB / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.333e-05/0.2963, allocations: 15.98 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.102e-05/0.2963, allocations: 3.984 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.248e-05/0.2963, allocations: 7.938 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.434e-05/0.2964, allocations: 4 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.2964, allocations: 8 kB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.2965, allocations: 67.84 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.143e-05/0.2966, allocations: 11.94 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.607e-05/0.2967, allocations: 11.97 kB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.2968, allocations: 63.8 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2968, allocations: 4 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2968, allocations: 0 / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.2968, allocations: 0 / 1.054 GB, free: 6.551 MB / 0.8106 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.0003302/0.2972, allocations: 339.8 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.2972, allocations: 12.62 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.04e-05/0.2972, allocations: 30.75 kB / 1.055 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.825e-05/0.2973, allocations: 4.938 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.487e-05/0.2974, allocations: 160.4 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.2974, allocations: 384 / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-06/0.2974, allocations: 4.375 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.2975, allocations: 49.81 kB / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.2975, allocations: 0 / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.2975, allocations: 3.984 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.2975, allocations: 7.938 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.684e-05/0.2976, allocations: 15.98 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.2977, allocations: 157.6 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.627e-05/0.2978, allocations: 30.64 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.46e-05/0.2978, allocations: 20.94 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.971e-06/0.2978, allocations: 0 / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001386/0.2979, allocations: 71.28 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.2979, allocations: 0 / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0001871/0.2981, allocations: 93.67 kB / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.2982, allocations: 59.41 kB / 1.055 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.381e-05/0.2982, allocations: 97.78 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.2983, allocations: 33.7 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.426e-05/0.2983, allocations: 80.14 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.2983, allocations: 23.73 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.2984, allocations: 29.7 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.024e-05/0.2984, allocations: 318.9 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.744e-05/0.2985, allocations: 19.98 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.293e-05/0.2986, allocations: 69.92 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.2987, allocations: 93.94 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2987, allocations: 0 / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001518/0.2988, allocations: 125.5 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.2988, allocations: 5.406 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.2989, allocations: 7.938 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.2989, allocations: 0 / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.182e-05/0.299, allocations: 19.98 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.299, allocations: 0 / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.218e-05/0.299, allocations: 7.906 kB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.299, allocations: 4 kB / 1.056 GB, free: 4.32 MB / 0.8106 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.804e-05/0.2991, allocations: 128.1 kB / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/0.2991, allocations: 7.922 kB / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.828e-05/0.2992, allocations: 3.969 kB / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2992, allocations: 8 kB / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2992, allocations: 0 / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.2992, allocations: 0 / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.2993, allocations: 157.6 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2993, allocations: 0 / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.56e-06/0.2993, allocations: 3.938 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2993, allocations: 0 / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.2993, allocations: 4 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.2993, allocations: 4 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2993, allocations: 0 / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.2994, allocations: 109.2 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.189e-05/0.2995, allocations: 81.05 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.2995, allocations: 4 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.212e-05/0.2995, allocations: 0 / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.042e-05/0.2996, allocations: 4 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.2996, allocations: 11.95 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.207e-05/0.2996, allocations: 79.28 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9e-08/0.2996, allocations: 0 / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002234/0.2998, allocations: 24 kB / 1.057 GB, free: 3.609 MB / 0.8106 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.0004181/0.3003, allocations: 0.67 MB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001222/0.3004, allocations: 63.83 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3004, allocations: 4 kB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.788e-05/0.3004, allocations: 16 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001255/0.3006, allocations: 0 / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003784/0.3009, allocations: 171.6 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001834/0.3011, allocations: 0.6807 MB / 1.059 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.11e-05/0.3012, allocations: 4 kB / 1.059 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.3012, allocations: 11.44 kB / 1.059 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of SimCode: time 2.91e-07/0.3012, allocations: 0 / 1.059 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.315/1.616, allocations: 1.504 MB / 1.06 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002466/1.616, allocations: 278.1 kB / 1.06 GB, free: 260 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.981/3.598, allocations: 0 / 1.06 GB, free: 260 kB / 0.8106 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells_fmu --startTime=3.5 --stopTime=5.5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches