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.006673/0.006673, allocations: 103.6 kB / 15.73 MB, free: 6.035 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.001495/0.001495, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.603/2.603, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 63.91 kB / 1.054 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3096, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001998/0.3117, allocations: 0.5446 MB / 1.208 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.3128, allocations: 0.7805 MB / 1.209 GB, free: 8.766 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.652e-05/0.3128, allocations: 0 / 1.209 GB, free: 8.766 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.791e-05/0.3128, allocations: 7.938 kB / 1.209 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.843e-06/0.3129, allocations: 0 / 1.209 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.3132, allocations: 15.97 kB / 1.209 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.018e-05/0.3132, allocations: 7.938 kB / 1.209 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.259e-05/0.3133, allocations: 0 / 1.209 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.333e-05/0.3133, allocations: 0 / 1.209 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.3135, allocations: 19.98 kB / 1.209 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.806e-06/0.3135, allocations: 0 / 1.209 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.973e-06/0.3135, allocations: 4 kB / 1.209 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.149e-05/0.3135, allocations: 0 / 1.209 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.883e-05/0.3135, allocations: 3.984 kB / 1.209 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 4.448e-05/0.3136, allocations: 0 / 1.209 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.3136, allocations: 0 / 1.209 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3136, allocations: 0 / 1.209 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.3136, allocations: 0 / 1.209 GB, free: 8.707 MB / 0.9669 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.0002832/0.3139, allocations: 315.5 kB / 1.209 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.3139, allocations: 12.62 kB / 1.209 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.631e-05/0.314, allocations: 34.73 kB / 1.209 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.151e-05/0.314, allocations: 0.9375 kB / 1.209 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.324e-05/0.3141, allocations: 160.4 kB / 1.209 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.3141, allocations: 4.375 kB / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.3141, allocations: 384 / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.835e-05/0.3142, allocations: 26.27 kB / 1.209 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3143, allocations: 3.938 kB / 1.209 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.3143, allocations: 0 / 1.209 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3143, allocations: 3.938 kB / 1.209 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.024e-05/0.3143, allocations: 8 kB / 1.209 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.3146, allocations: 375.5 kB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.32e-05/0.3147, allocations: 173.1 kB / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.425e-05/0.3148, allocations: 80.14 kB / 1.21 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/0.3148, allocations: 79.28 kB / 1.21 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/0.3149, allocations: 117.7 kB / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.011e-06/0.3149, allocations: 0 / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 6.784e-05/0.3149, allocations: 25.7 kB / 1.21 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.315, allocations: 130.7 kB / 1.21 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.223e-05/0.3151, allocations: 93.84 kB / 1.21 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.3151, allocations: 25.7 kB / 1.21 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.473e-05/0.3152, allocations: 88.17 kB / 1.21 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.827e-06/0.3152, allocations: 0 / 1.21 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.3152, allocations: 17.72 kB / 1.21 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.3153, allocations: 310.8 kB / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.506e-06/0.3153, allocations: 0 / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.498e-06/0.3153, allocations: 0 / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.864e-05/0.3154, allocations: 12.8 kB / 1.211 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3154, allocations: 8 kB / 1.211 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.587e-05/0.3155, allocations: 33.69 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3155, allocations: 5.406 kB / 1.211 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3155, allocations: 4 kB / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.3155, allocations: 0 / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.666e-05/0.3156, allocations: 4 kB / 1.211 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3156, allocations: 0 / 1.211 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.027e-05/0.3156, allocations: 3.938 kB / 1.211 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.3156, allocations: 4 kB / 1.211 GB, free: 6.352 MB / 0.9669 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 9.163e-05/0.3157, allocations: 193.1 kB / 1.211 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.125e-05/0.3158, allocations: 104.9 kB / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.92e-05/0.3158, allocations: 108.1 kB / 1.211 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.767e-05/0.3159, allocations: 184.2 kB / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.216e-05/0.316, allocations: 176.3 kB / 1.211 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-05/0.316, allocations: 180.8 kB / 1.212 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.3162, allocations: 413.1 kB / 1.212 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.133e-05/0.3163, allocations: 105 kB / 1.212 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.248e-05/0.3163, allocations: 104.9 kB / 1.212 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.792e-05/0.3164, allocations: 180.4 kB / 1.212 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.896e-05/0.3164, allocations: 176.3 kB / 1.213 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.65e-05/0.3165, allocations: 200.2 kB / 1.213 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.08e-05/0.3166, allocations: 176.3 kB / 1.213 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.3167, allocations: 303.7 kB / 1.213 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.3e-05/0.3168, allocations: 186.1 kB / 1.213 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.28e-05/0.3168, allocations: 180.2 kB / 1.214 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.417e-05/0.3169, allocations: 109 kB / 1.214 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.259e-05/0.317, allocations: 180.2 kB / 1.214 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.891e-05/0.317, allocations: 101 kB / 1.214 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.75e-05/0.3171, allocations: 75.28 kB / 1.214 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3171, allocations: 3.938 kB / 1.214 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002/0.3173, allocations: 4 kB / 1.214 GB, free: 2.762 MB / 0.9669 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.0004061/0.3177, allocations: 0.8205 MB / 1.215 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.124e-05/0.3178, allocations: 0 / 1.215 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3178, allocations: 4 kB / 1.215 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.637e-06/0.3178, allocations: 4 kB / 1.215 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.3181, allocations: 460 kB / 1.215 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003356/0.3185, allocations: 189.8 kB / 1.215 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.3187, allocations: 0.669 MB / 1.216 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.363e-05/0.3187, allocations: 0 / 1.216 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.879e-05/0.3187, allocations: 7.438 kB / 1.216 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.3187, allocations: 0 / 1.216 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/0.3368, allocations: 0.971 MB / 1.217 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.47/7.807, allocations: 4.172 kB / 1.217 GB, free: 15.75 MB / 0.9825 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