Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="Buildings_10_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_10_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.001305/0.001305, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001524/0.001524, allocations: 190.9 kB / 16.25 MB, free: 6.586 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.41/1.41, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.578/2.578, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 67.89 kB / 0.8689 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6114/0.6129, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001504/0.6144, allocations: 0.6208 MB / 1.018 GB, free: 2.09 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007159/0.6152, allocations: 0.7805 MB / 1.018 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.013e-05/0.6152, allocations: 0 / 1.018 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.524e-05/0.6152, allocations: 3.938 kB / 1.018 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.519e-06/0.6152, allocations: 0 / 1.018 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.6154, allocations: 15.98 kB / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.509e-05/0.6155, allocations: 4 kB / 1.018 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.938e-05/0.6155, allocations: 4 kB / 1.018 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.126e-05/0.6155, allocations: 4 kB / 1.018 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.6157, allocations: 23.97 kB / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 6.782e-06/0.6157, allocations: 0 / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.037e-06/0.6157, allocations: 0 / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.406e-06/0.6157, allocations: 0 / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.277e-05/0.6157, allocations: 0 / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 2.625e-05/0.6157, allocations: 0 / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.6158, allocations: 4 kB / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6158, allocations: 0 / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.6158, allocations: 0 / 1.018 GB, free: 1.238 MB / 0.7637 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.0002244/0.616, allocations: 307.6 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.616, allocations: 19.95 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.367e-05/0.6161, allocations: 30.75 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.752e-05/0.6161, allocations: 4.938 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.495e-05/0.6162, allocations: 168.3 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.6162, allocations: 384 / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.31e-06/0.6162, allocations: 384 / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.866e-05/0.6163, allocations: 34.27 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.6163, allocations: 3.938 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.13e-06/0.6163, allocations: 0 / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.6163, allocations: 0 / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.38e-05/0.6163, allocations: 0 / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002516/0.6166, allocations: 383.4 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 8.527e-05/0.6167, allocations: 177 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.113e-05/0.6167, allocations: 80.14 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.6167, allocations: 75.28 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.6168, allocations: 105.8 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.6168, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 5.93e-05/0.6169, allocations: 33.67 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.6169, allocations: 134.7 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.973e-05/0.617, allocations: 93.84 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.617, allocations: 25.7 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.898e-05/0.617, allocations: 84.14 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-06/0.6171, allocations: 3.938 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.437e-05/0.6171, allocations: 9.719 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.033e-05/0.6172, allocations: 310.8 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.675e-06/0.6172, allocations: 8.125 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.007e-06/0.6172, allocations: 4.031 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.443e-05/0.6172, allocations: 8.859 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.6172, allocations: 3.938 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.097e-05/0.6173, allocations: 41.62 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.6173, allocations: 5.719 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.6173, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.6174, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.934e-05/0.6174, allocations: 4.094 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.6174, allocations: 4 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.068e-05/0.6174, allocations: 0 / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-06/0.6174, allocations: 3.938 kB / 1.02 GB, free: 14.88 MB / 0.7794 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.968e-05/0.6175, allocations: 185.6 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/0.6176, allocations: 105 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.501e-05/0.6176, allocations: 116 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.005e-05/0.6177, allocations: 180.3 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.365e-05/0.6177, allocations: 180.2 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.201e-05/0.6178, allocations: 176.3 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.618, allocations: 409.2 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.08e-05/0.618, allocations: 104.9 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.22e-05/0.6181, allocations: 101 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-05/0.6181, allocations: 188.2 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-05/0.6182, allocations: 176.3 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.665e-05/0.6182, allocations: 180.2 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.795e-05/0.6183, allocations: 184.2 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.6184, allocations: 311.7 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.076e-05/0.6185, allocations: 182.1 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.682e-05/0.6186, allocations: 188.3 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.644e-05/0.6186, allocations: 105.2 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/0.6187, allocations: 176.3 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.288e-05/0.6187, allocations: 109 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.183e-05/0.6188, allocations: 83.28 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6188, allocations: 0 / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002025/0.619, allocations: 0 / 1.024 GB, free: 11.29 MB / 0.7794 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.0003295/0.6193, allocations: 0.8127 MB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.461e-05/0.6194, allocations: 7.938 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.6194, allocations: 0 / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.6194, allocations: 3.938 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.6197, allocations: 469.9 kB / 1.025 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002632/0.62, allocations: 182 kB / 1.025 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.6202, allocations: 0.6729 MB / 1.026 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.598e-06/0.6202, allocations: 0 / 1.026 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.64e-05/0.6203, allocations: 7.438 kB / 1.026 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6203, allocations: 0 / 1.026 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3857/1.006, allocations: 0.8446 MB / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002632/1.006, allocations: 285.8 kB / 1.027 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/2.664, allocations: 0 / 1.027 GB, free: 8.039 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches