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.001168/0.001168, 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.001137/0.001137, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.241/1.241, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.296/2.296, allocations: 390.2 MB / 0.6644 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 63.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5304/0.5318, allocations: 140.4 MB / 0.9493 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001691/0.5336, allocations: 0.6132 MB / 0.9499 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006909/0.5343, allocations: 0.7758 MB / 0.9506 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.162e-05/0.5343, allocations: 0 / 0.9506 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.19e-05/0.5343, allocations: 0 / 0.9506 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.187e-06/0.5343, allocations: 1.375 kB / 0.9506 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.5346, allocations: 14.8 kB / 0.9506 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.046e-05/0.5346, allocations: 5.312 kB / 0.9506 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.5347, allocations: 7.984 kB / 0.9507 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.15e-05/0.5347, allocations: 1.375 kB / 0.9507 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.5348, allocations: 20.36 kB / 0.9507 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.514e-06/0.5348, allocations: 0 / 0.9507 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.076e-06/0.5348, allocations: 0 / 0.9507 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.935e-06/0.5348, allocations: 3.984 kB / 0.9507 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.569e-05/0.5348, allocations: 1.375 kB / 0.9507 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 2.92e-05/0.5349, allocations: 0 / 0.9507 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.5349, allocations: 4 kB / 0.9507 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.472e-06/0.5349, allocations: 0 / 0.9507 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.5349, allocations: 1.375 kB / 0.9507 GB, free: 7.945 MB / 0.7169 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.0001607/0.5351, allocations: 307 kB / 0.951 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.5351, allocations: 9.625 kB / 0.951 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.083e-05/0.5351, allocations: 34.75 kB / 0.951 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.581e-05/0.5351, allocations: 0.9375 kB / 0.951 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.187e-05/0.5352, allocations: 165.8 kB / 0.9512 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.5352, allocations: 384 / 0.9512 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.064e-06/0.5352, allocations: 4.375 kB / 0.9512 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.26e-05/0.5353, allocations: 32.95 kB / 0.9512 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.5353, allocations: 3.938 kB / 0.9512 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.121e-06/0.5353, allocations: 0 / 0.9512 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.5353, allocations: 0 / 0.9512 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.337e-05/0.5353, allocations: 5.312 kB / 0.9512 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.5355, allocations: 378.3 kB / 0.9516 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.867e-05/0.5356, allocations: 174.5 kB / 0.9517 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.384e-05/0.5356, allocations: 84.08 kB / 0.9518 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.5356, allocations: 79.27 kB / 0.9519 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.5356, allocations: 107.2 kB / 0.952 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.5356, allocations: 3.938 kB / 0.952 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.007e-05/0.5357, allocations: 35.08 kB / 0.952 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/0.5357, allocations: 126.7 kB / 0.9522 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.914e-05/0.5358, allocations: 96.52 kB / 0.9523 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.188e-06/0.5358, allocations: 25.7 kB / 0.9523 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.419e-05/0.5358, allocations: 84.12 kB / 0.9524 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-06/0.5358, allocations: 1.375 kB / 0.9524 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/0.5358, allocations: 11.09 kB / 0.9524 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.559e-05/0.5359, allocations: 319 kB / 0.9527 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.155e-06/0.5359, allocations: 5.312 kB / 0.9527 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.248e-06/0.5359, allocations: 1.375 kB / 0.9527 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.897e-05/0.5359, allocations: 6.266 kB / 0.9527 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.5359, allocations: 3.938 kB / 0.9527 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.897e-05/0.536, allocations: 31.2 kB / 0.9527 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.536, allocations: 5.5 kB / 0.9527 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.536, allocations: 0 / 0.9527 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.536, allocations: 4.078 kB / 0.9527 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.168e-05/0.5361, allocations: 6.75 kB / 0.9527 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.716e-06/0.5361, allocations: 0 / 0.9527 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.044e-05/0.5361, allocations: 4 kB / 0.9527 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.5361, allocations: 1.375 kB / 0.9527 GB, free: 5.641 MB / 0.7169 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 4.338e-05/0.5362, allocations: 194.4 kB / 0.9529 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.233e-05/0.5362, allocations: 106.4 kB / 0.953 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.828e-05/0.5362, allocations: 107.9 kB / 0.9531 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.058e-05/0.5362, allocations: 189.6 kB / 0.9533 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.92e-05/0.5363, allocations: 177.6 kB / 0.9535 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.952e-05/0.5363, allocations: 181.7 kB / 0.9537 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.5364, allocations: 402.5 kB / 0.954 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/0.5364, allocations: 106.3 kB / 0.9541 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.281e-05/0.5364, allocations: 110.3 kB / 0.9542 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.99e-05/0.5365, allocations: 181.6 kB / 0.9544 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.5365, allocations: 180.2 kB / 0.9546 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.062e-05/0.5365, allocations: 177.6 kB / 0.9548 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.049e-05/0.5365, allocations: 185.6 kB / 0.9549 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.298e-05/0.5366, allocations: 306.5 kB / 0.9552 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.59e-05/0.5366, allocations: 183.4 kB / 0.9554 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.5367, allocations: 185.9 kB / 0.9556 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.022e-05/0.5367, allocations: 106.4 kB / 0.9557 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.261e-05/0.5367, allocations: 184.2 kB / 0.9559 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.5368, allocations: 106.4 kB / 0.956 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.503e-05/0.5368, allocations: 76.66 kB / 0.956 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5368, allocations: 0 / 0.956 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002085/0.537, allocations: 5.312 kB / 0.956 GB, free: 2.062 MB / 0.7169 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.0001904/0.5372, allocations: 0.8173 MB / 0.9568 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.033e-05/0.5373, allocations: 2.75 kB / 0.9568 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.5373, allocations: 0 / 0.9568 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.472e-06/0.5373, allocations: 0 / 0.9568 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.5375, allocations: 467.2 kB / 0.9573 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000233/0.5377, allocations: 183.6 kB / 0.9575 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.5379, allocations: 0.6741 MB / 0.9581 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.969e-06/0.5379, allocations: 0 / 0.9581 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.661e-05/0.5379, allocations: 7.438 kB / 0.9581 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.5379, allocations: 0 / 0.9581 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.263/2.801, allocations: 0.8582 MB / 0.959 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002976/2.801, allocations: 277.9 kB / 0.9592 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.459/4.26, allocations: 1.719 kB / 0.9592 GB, free: 15.11 MB / 0.7325 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