Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007575/0.007575, allocations: 100.3 kB / 15.73 MB, free: 5.977 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.001702/0.001702, allocations: 197.3 kB / 16.67 MB, free: 5.914 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.359/1.359, 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 9.1.3-maint.9.1.x/package.mo): time 2.405/2.405, allocations: 390.3 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 66.66 kB / 0.9504 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2528, allocations: 140.4 MB / 1.088 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001751/0.2546, allocations: 0.5438 MB / 1.088 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009019/0.2556, allocations: 0.7809 MB / 1.089 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.585e-05/0.2556, allocations: 0 / 1.089 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.408e-05/0.2556, allocations: 4 kB / 1.089 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.7e-06/0.2556, allocations: 0 / 1.089 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.2559, allocations: 15.91 kB / 1.089 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.298e-05/0.256, allocations: 4 kB / 1.089 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.256, allocations: 7.984 kB / 1.089 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.453e-05/0.256, allocations: 4 kB / 1.089 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.2562, allocations: 23.97 kB / 1.089 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.805e-06/0.2562, allocations: 0 / 1.089 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 3.667e-06/0.2562, allocations: 0 / 1.089 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.598e-06/0.2562, allocations: 0 / 1.089 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.617e-05/0.2562, allocations: 0 / 1.089 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 3.796e-05/0.2563, allocations: 7.938 kB / 1.089 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2563, allocations: 0 / 1.089 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2563, allocations: 0 / 1.089 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.2563, allocations: 0 / 1.089 GB, free: 0.582 MB / 0.8419 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.000278/0.2566, allocations: 311.6 kB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.2566, allocations: 8.031 kB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.751e-05/0.2567, allocations: 38.73 kB / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.708e-05/0.2567, allocations: 0.9375 kB / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.2568, allocations: 164.4 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.2568, allocations: 384 / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.2568, allocations: 4.375 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.438e-05/0.2569, allocations: 30.2 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.2569, allocations: 3.938 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-06/0.2569, allocations: 0 / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.257, allocations: 4 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.865e-05/0.257, allocations: 4 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000288/0.2573, allocations: 375.5 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.94e-05/0.2574, allocations: 169.1 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.069e-05/0.2574, allocations: 84.11 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.2574, allocations: 83.28 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.2575, allocations: 109.8 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.2575, allocations: 0 / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.791e-05/0.2576, allocations: 29.7 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/0.2576, allocations: 126.7 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.5e-05/0.2577, allocations: 101.8 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.2577, allocations: 29.69 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/0.2578, allocations: 80.14 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.075e-06/0.2578, allocations: 0 / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.2578, allocations: 9.719 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.68e-05/0.2579, allocations: 318.8 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.135e-06/0.2579, allocations: 3.938 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-06/0.2579, allocations: 0 / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.549e-05/0.258, allocations: 13.05 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.258, allocations: 3.938 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.216e-05/0.2581, allocations: 29.7 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.2581, allocations: 4 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.2581, allocations: 7.922 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.2581, allocations: 0 / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.878e-05/0.2582, allocations: 4 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.2582, allocations: 0 / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.41e-05/0.2582, allocations: 0 / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.2582, allocations: 3.938 kB / 1.091 GB, free: 14.23 MB / 0.8575 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.016e-05/0.2583, allocations: 197.1 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.445e-05/0.2584, allocations: 101 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.883e-05/0.2584, allocations: 105.5 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.506e-05/0.2585, allocations: 184.2 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.807e-05/0.2585, allocations: 180.3 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.984e-05/0.2586, allocations: 184.2 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.2588, allocations: 405.2 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.489e-05/0.2588, allocations: 101 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.066e-05/0.2589, allocations: 108.9 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.598e-05/0.2589, allocations: 176.3 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.876e-05/0.259, allocations: 188.2 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.177e-05/0.2591, allocations: 176.3 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-05/0.2591, allocations: 188.2 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.2592, allocations: 303.9 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.284e-05/0.2593, allocations: 190 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.676e-05/0.2594, allocations: 188.2 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.142e-05/0.2595, allocations: 101 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.2595, allocations: 184.2 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.649e-05/0.2596, allocations: 101 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.96e-05/0.2596, allocations: 75.28 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2596, allocations: 0 / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002233/0.2598, allocations: 4.094 kB / 1.094 GB, free: 10.64 MB / 0.8575 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.0003679/0.2602, allocations: 0.8203 MB / 1.095 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.403e-05/0.2603, allocations: 0 / 1.095 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2603, allocations: 0 / 1.095 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.156e-06/0.2603, allocations: 8.062 kB / 1.095 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.2606, allocations: 462.4 kB / 1.095 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/0.261, allocations: 182 kB / 1.096 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.2612, allocations: 0.669 MB / 1.096 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.295e-05/0.2612, allocations: 0 / 1.096 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.655e-05/0.2612, allocations: 11.38 kB / 1.096 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of SimCode: time 3.81e-07/0.2612, allocations: 4 kB / 1.096 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01718/0.2784, allocations: 0.9605 MB / 1.097 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.418/7.696, allocations: 9.344 kB / 1.097 GB, free: 7.629 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches