Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.CountAggregationCells,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",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.001007/0.001007, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.007518/0.007518, allocations: 170.6 kB / 16.27 MB, free: 6.648 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.322/1.322, allocations: 223.3 MB / 240.3 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.479/2.479, allocations: 462.6 MB / 0.7364 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003738, allocations: 16.03 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3085, allocations: 159.6 MB / 1.059 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0007857/0.3094, allocations: 300.6 kB / 1.059 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.3106, allocations: 0.7845 MB / 1.06 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.338e-06/0.3107, allocations: 0 / 1.06 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.157e-05/0.3107, allocations: 0 / 1.06 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.689e-06/0.3107, allocations: 0 / 1.06 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.3109, allocations: 15.91 kB / 1.06 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.214e-05/0.311, allocations: 8 kB / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.668e-05/0.311, allocations: 0 / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.199e-05/0.311, allocations: 0 / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.3112, allocations: 19.98 kB / 1.06 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.313e-06/0.3112, allocations: 0 / 1.06 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.276e-06/0.3112, allocations: 0 / 1.06 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.038e-05/0.3112, allocations: 3.984 kB / 1.06 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.3112, allocations: 29.7 kB / 1.06 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 2.767e-05/0.3113, allocations: 0 / 1.06 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3113, allocations: 3.938 kB / 1.06 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3113, allocations: 0 / 1.06 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.3113, allocations: 0 / 1.06 GB, free: 3.648 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002185/0.3115, allocations: 311.5 kB / 1.06 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3116, allocations: 16.03 kB / 1.06 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.174e-05/0.3116, allocations: 34.75 kB / 1.06 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.61e-05/0.3116, allocations: 0.9375 kB / 1.06 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.532e-05/0.3117, allocations: 160.4 kB / 1.06 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.3117, allocations: 384 / 1.06 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.3117, allocations: 384 / 1.06 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.428e-05/0.3118, allocations: 38.19 kB / 1.06 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.3118, allocations: 3.938 kB / 1.06 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-06/0.3118, allocations: 0 / 1.06 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3118, allocations: 4 kB / 1.06 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.544e-05/0.3119, allocations: 0 / 1.06 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002683/0.3121, allocations: 375.5 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.3122, allocations: 173 kB / 1.061 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.009e-05/0.3123, allocations: 80.14 kB / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.689e-05/0.3123, allocations: 79.28 kB / 1.061 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/0.3124, allocations: 113.9 kB / 1.061 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.413e-06/0.3124, allocations: 0 / 1.061 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.398e-05/0.3125, allocations: 29.7 kB / 1.061 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.3125, allocations: 126.7 kB / 1.061 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.741e-05/0.3126, allocations: 97.8 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.3126, allocations: 25.7 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.823e-05/0.3127, allocations: 84.14 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.238e-06/0.3127, allocations: 0 / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.3127, allocations: 13.66 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.577e-05/0.3128, allocations: 310.8 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.107e-06/0.3128, allocations: 4 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.201e-06/0.3128, allocations: 3.984 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.25e-05/0.3128, allocations: 13.05 kB / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.3129, allocations: 3.938 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001616/0.313, allocations: 29.7 kB / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.313, allocations: 8 kB / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3131, allocations: 0 / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.3131, allocations: 3.938 kB / 1.062 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.01e-05/0.3131, allocations: 0 / 1.062 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.3132, allocations: 3.938 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.337e-05/0.3132, allocations: 0 / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.3132, allocations: 4 kB / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001061/0.3133, allocations: 193.1 kB / 1.062 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-05/0.3134, allocations: 105 kB / 1.062 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.465e-05/0.3134, allocations: 104.1 kB / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.346e-05/0.3135, allocations: 184.2 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.417e-05/0.3136, allocations: 176.3 kB / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.556e-05/0.3136, allocations: 188.2 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.3139, allocations: 405.2 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.874e-05/0.3139, allocations: 101 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.884e-05/0.314, allocations: 108.9 kB / 1.063 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.017e-05/0.314, allocations: 180.2 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.963e-05/0.3141, allocations: 184.2 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.95e-05/0.3142, allocations: 184.3 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001138/0.3143, allocations: 180.4 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.3145, allocations: 311.8 kB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.3146, allocations: 182 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.703e-05/0.3147, allocations: 180.3 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.107e-05/0.3147, allocations: 109 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.3149, allocations: 188.2 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.3149, allocations: 101 kB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.246e-05/0.3149, allocations: 75.28 kB / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.21e-07/0.315, allocations: 4 kB / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001971/0.3152, allocations: 0 / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.000407/0.3156, allocations: 0.8204 MB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.617e-05/0.3157, allocations: 0 / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3157, allocations: 4 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.853e-06/0.3157, allocations: 4.062 kB / 1.066 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.3161, allocations: 0.5226 MB / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004534/0.3165, allocations: 179.5 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.3168, allocations: 0.6731 MB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.216e-05/0.3168, allocations: 0 / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.69e-05/0.3168, allocations: 11.44 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3168, allocations: 4 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.909/2.226, allocations: 0.7649 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004119/2.226, allocations: 279.4 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.858/5.084, allocations: 0 / 1.068 GB, free: 10.48 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches