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.004842/0.004842, allocations: 100.4 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.001076/0.001076, allocations: 186.1 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.269/1.269, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.418/2.418, allocations: 437 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 71.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2809, allocations: 151.6 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001641/0.2826, allocations: 0.5446 MB / 1.167 GB, free: 6.734 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009071/0.2835, allocations: 0.7809 MB / 1.168 GB, free: 5.941 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.589e-05/0.2836, allocations: 0 / 1.168 GB, free: 5.941 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.193e-05/0.2836, allocations: 0 / 1.168 GB, free: 5.941 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.019e-06/0.2836, allocations: 0 / 1.168 GB, free: 5.941 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.2839, allocations: 19.92 kB / 1.168 GB, free: 5.922 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.052e-05/0.2839, allocations: 0 / 1.168 GB, free: 5.922 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.891e-05/0.284, allocations: 8 kB / 1.168 GB, free: 5.914 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.592e-05/0.284, allocations: 7.922 kB / 1.168 GB, free: 5.906 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.2841, allocations: 23.98 kB / 1.168 GB, free: 5.883 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.494e-06/0.2841, allocations: 0 / 1.168 GB, free: 5.883 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.657e-06/0.2841, allocations: 0 / 1.168 GB, free: 5.883 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.468e-06/0.2842, allocations: 0 / 1.168 GB, free: 5.883 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.639e-05/0.2842, allocations: 0 / 1.168 GB, free: 5.883 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 4.247e-05/0.2842, allocations: 7.984 kB / 1.168 GB, free: 5.875 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2842, allocations: 3.938 kB / 1.168 GB, free: 5.871 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2842, allocations: 0 / 1.168 GB, free: 5.871 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2842, allocations: 0 / 1.168 GB, free: 5.871 MB / 0.92 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.0002526/0.2845, allocations: 311.6 kB / 1.168 GB, free: 5.516 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.2846, allocations: 8.031 kB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.996e-05/0.2846, allocations: 38.69 kB / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.862e-05/0.2846, allocations: 0.9375 kB / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.597e-05/0.2847, allocations: 164.4 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.2847, allocations: 384 / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.2847, allocations: 384 / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.084e-05/0.2848, allocations: 30.27 kB / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.2848, allocations: 7.938 kB / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.2848, allocations: 4 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2849, allocations: 0 / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.86e-05/0.2849, allocations: 3.938 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002671/0.2851, allocations: 379.5 kB / 1.168 GB, free: 4.789 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.335e-05/0.2852, allocations: 173.1 kB / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.378e-05/0.2853, allocations: 84.14 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.2853, allocations: 79.22 kB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.2853, allocations: 105.8 kB / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.2853, allocations: 0 / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 6.779e-05/0.2854, allocations: 33.67 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.2855, allocations: 126.7 kB / 1.169 GB, free: 4.156 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.4e-05/0.2855, allocations: 97.86 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.2856, allocations: 25.7 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.891e-05/0.2856, allocations: 80.14 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-06/0.2856, allocations: 4 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.2856, allocations: 13.7 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.529e-05/0.2857, allocations: 310.8 kB / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.725e-06/0.2857, allocations: 0 / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.881e-06/0.2858, allocations: 4 kB / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.26e-05/0.2858, allocations: 12.98 kB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2858, allocations: 3.938 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.628e-05/0.2859, allocations: 37.61 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.2859, allocations: 8 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2859, allocations: 0 / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.2859, allocations: 0 / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.919e-05/0.286, allocations: 3.984 kB / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.286, allocations: 4 kB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.052e-05/0.286, allocations: 0 / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.286, allocations: 4.031 kB / 1.17 GB, free: 3.516 MB / 0.92 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.721e-05/0.2861, allocations: 185.1 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.044e-05/0.2861, allocations: 104.9 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.931e-05/0.2862, allocations: 108.1 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.494e-05/0.2862, allocations: 180.3 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.603e-05/0.2863, allocations: 184.2 kB / 1.17 GB, free: 2.73 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.991e-05/0.2864, allocations: 180.3 kB / 1.171 GB, free: 2.547 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.2866, allocations: 409 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.977e-05/0.2866, allocations: 105 kB / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.971e-05/0.2866, allocations: 105 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-05/0.2867, allocations: 184.2 kB / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.271e-05/0.2867, allocations: 184.3 kB / 1.171 GB, free: 1.496 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.134e-05/0.2868, allocations: 180.2 kB / 1.172 GB, free: 1.312 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.955e-05/0.2868, allocations: 176.3 kB / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.287, allocations: 315.9 kB / 1.172 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.012e-05/0.287, allocations: 186.1 kB / 1.172 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.05e-05/0.2871, allocations: 188.2 kB / 1.172 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.161e-05/0.2872, allocations: 101 kB / 1.173 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.2872, allocations: 184.2 kB / 1.173 GB, free: 112 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.2873, allocations: 105 kB / 1.173 GB, free: 0 / 0.92 GB Notification: Performance of sorting global known variables: time 2.855e-05/0.2873, allocations: 79.33 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.2873, allocations: 96 / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001986/0.2875, allocations: 4 kB / 1.173 GB, free: 15.91 MB / 0.9356 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.0003312/0.2879, allocations: 0.8125 MB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 5.46e-05/0.2879, allocations: 4 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2879, allocations: 4.062 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.575e-06/0.2879, allocations: 0 / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.2883, allocations: 459.2 kB / 1.174 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003107/0.2886, allocations: 181.9 kB / 1.174 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.2888, allocations: 0.6768 MB / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.164e-05/0.2888, allocations: 0 / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.2888, allocations: 11.44 kB / 1.175 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.2888, allocations: 0 / 1.175 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01626/0.3051, allocations: 0.9533 MB / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.21/7.515, allocations: 13.17 kB / 1.176 GB, free: 12.92 MB / 0.9356 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