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.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.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.001489/0.001489, 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.001645/0.001645, allocations: 195.8 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.517/1.517, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.025/3.025, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 66.84 kB / 0.8988 GB, free: 37.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2862, allocations: 157.4 MB / 1.052 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001702/0.2879, allocations: 0.6113 MB / 1.053 GB, free: 8.016 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008033/0.2888, allocations: 0.7845 MB / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.166e-05/0.2888, allocations: 0 / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.307e-05/0.2888, allocations: 4 kB / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.869e-06/0.2888, allocations: 0 / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.2891, allocations: 15.92 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.516e-05/0.2891, allocations: 7.984 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.281e-05/0.2892, allocations: 4 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.225e-05/0.2892, allocations: 0 / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.2893, allocations: 15.98 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.713e-06/0.2893, allocations: 4 kB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.957e-06/0.2893, allocations: 0 / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.656e-06/0.2893, allocations: 3.938 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.623e-05/0.2894, allocations: 0 / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 3.475e-05/0.2894, allocations: 7.922 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.2894, allocations: 3.984 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2894, allocations: 0 / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.2894, allocations: 4 kB / 1.054 GB, free: 7.148 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.0002318/0.2897, allocations: 307.6 kB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.2897, allocations: 12.66 kB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.102e-05/0.2897, allocations: 34.75 kB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.631e-05/0.2898, allocations: 0.9375 kB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.3e-05/0.2899, allocations: 172.3 kB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.2899, allocations: 384 / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-06/0.2899, allocations: 384 / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.621e-05/0.29, allocations: 30.27 kB / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.29, allocations: 3.938 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-06/0.29, allocations: 0 / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.29, allocations: 0 / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.536e-05/0.29, allocations: 0 / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002505/0.2903, allocations: 379.5 kB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.936e-05/0.2903, allocations: 177 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.612e-05/0.2904, allocations: 80.14 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.2904, allocations: 75.28 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.2904, allocations: 113.8 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.2905, allocations: 4.031 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 5.944e-05/0.2905, allocations: 25.7 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.2906, allocations: 130.6 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.425e-05/0.2906, allocations: 89.86 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.2907, allocations: 25.7 kB / 1.055 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.188e-05/0.2907, allocations: 88.27 kB / 1.056 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-06/0.2907, allocations: 0 / 1.056 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.2907, allocations: 17.7 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.675e-05/0.2908, allocations: 310.8 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.467e-06/0.2908, allocations: 4 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.608e-06/0.2908, allocations: 0 / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.034e-05/0.2909, allocations: 4.859 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.2909, allocations: 3.938 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.671e-05/0.291, allocations: 41.7 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.291, allocations: 7.938 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.291, allocations: 0 / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.291, allocations: 0 / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.467e-05/0.2911, allocations: 0 / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2911, allocations: 7.984 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.937e-06/0.2911, allocations: 3.938 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.2911, allocations: 0 / 1.056 GB, free: 4.801 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 7.617e-05/0.2912, allocations: 194.6 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/0.2912, allocations: 101 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.652e-05/0.2913, allocations: 112 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.756e-05/0.2913, allocations: 176.3 kB / 1.056 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.154e-05/0.2914, allocations: 180.2 kB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.803e-05/0.2914, allocations: 184.2 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.2916, allocations: 409.2 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.173e-05/0.2917, allocations: 109 kB / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.627e-05/0.2917, allocations: 101 kB / 1.057 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.381e-05/0.2917, allocations: 184.3 kB / 1.058 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.316e-05/0.2918, allocations: 184.2 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-05/0.2918, allocations: 180.3 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-05/0.2919, allocations: 184.2 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.292, allocations: 307.7 kB / 1.058 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.378e-05/0.2921, allocations: 182.1 kB / 1.059 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.48e-05/0.2921, allocations: 180.3 kB / 1.059 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.7e-05/0.2922, allocations: 112.9 kB / 1.059 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.2923, allocations: 176.3 kB / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-05/0.2923, allocations: 108.9 kB / 1.059 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.568e-05/0.2923, allocations: 75.28 kB / 1.059 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2923, allocations: 0 / 1.059 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001947/0.2925, allocations: 0 / 1.059 GB, free: 1.215 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: 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.0003304/0.2929, allocations: 0.8127 MB / 1.06 GB, free: 380 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.021e-05/0.2929, allocations: 4 kB / 1.06 GB, free: 376 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2929, allocations: 0 / 1.06 GB, free: 376 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.276e-06/0.2929, allocations: 3.938 kB / 1.06 GB, free: 372 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.2933, allocations: 460 kB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002713/0.2935, allocations: 185.9 kB / 1.061 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.2937, allocations: 0.669 MB / 1.061 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.032e-05/0.2938, allocations: 3.938 kB / 1.061 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.78e-05/0.2938, allocations: 8.984 kB / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2938, allocations: 0 / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.321/1.615, allocations: 0.8672 MB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003859/1.616, allocations: 279.8 kB / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/3.388, allocations: 0 / 1.062 GB, free: 13.96 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