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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009562/0.0009562, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.0009901/0.00099, allocations: 182.9 kB / 16.28 MB, free: 6.656 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.21/1.21, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.072/2.072, allocations: 390.9 MB / 0.6664 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003097/0.0003097, allocations: 8 kB / 0.8161 GB, free: 13.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6876/0.6879, allocations: 142.4 MB / 0.9552 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0006833/0.6887, allocations: 285.1 kB / 0.9555 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008082/0.6895, allocations: 0.7766 MB / 0.9562 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.288e-06/0.6895, allocations: 0 / 0.9562 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.404e-05/0.6895, allocations: 1.188 kB / 0.9562 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.721e-06/0.6896, allocations: 0 / 0.9562 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.6898, allocations: 16.42 kB / 0.9563 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.242e-05/0.6898, allocations: 5.188 kB / 0.9563 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.563e-05/0.6899, allocations: 1.312 kB / 0.9563 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.513e-05/0.6899, allocations: 5.391 kB / 0.9563 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.69, allocations: 19.02 kB / 0.9563 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.364e-06/0.69, allocations: 0 / 0.9563 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.797e-06/0.69, allocations: 1.125 kB / 0.9563 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.586e-06/0.6901, allocations: 0 / 0.9563 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.6901, allocations: 25.7 kB / 0.9563 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 2.965e-05/0.6901, allocations: 1.312 kB / 0.9563 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.6901, allocations: 4 kB / 0.9563 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6901, allocations: 4 kB / 0.9563 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.6901, allocations: 0 / 0.9563 GB, free: 6.688 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.0001824/0.6903, allocations: 310.1 kB / 0.9566 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.6904, allocations: 8.469 kB / 0.9566 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.713e-05/0.6904, allocations: 32.22 kB / 0.9567 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.894e-05/0.6904, allocations: 0.9375 kB / 0.9567 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.802e-05/0.6905, allocations: 160.4 kB / 0.9568 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.6905, allocations: 1.781 kB / 0.9568 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.6905, allocations: 384 / 0.9568 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.654e-05/0.6906, allocations: 31.73 kB / 0.9568 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.6906, allocations: 3.938 kB / 0.9569 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.6906, allocations: 5.5 kB / 0.9569 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.6906, allocations: 3.938 kB / 0.9569 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.812e-05/0.6907, allocations: 5.391 kB / 0.9569 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002559/0.6909, allocations: 373 kB / 0.9572 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.772e-05/0.691, allocations: 174.5 kB / 0.9574 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.734e-05/0.691, allocations: 85.33 kB / 0.9575 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.6911, allocations: 79.22 kB / 0.9575 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.6911, allocations: 110.6 kB / 0.9577 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.6911, allocations: 0 / 0.9577 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.402e-05/0.6912, allocations: 30.75 kB / 0.9577 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.6912, allocations: 131.8 kB / 0.9578 GB, free: 5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.101e-05/0.6913, allocations: 95.02 kB / 0.9579 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.771e-06/0.6913, allocations: 25.7 kB / 0.9579 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.109e-05/0.6913, allocations: 81.33 kB / 0.958 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-06/0.6913, allocations: 4 kB / 0.958 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.834e-05/0.6914, allocations: 9.719 kB / 0.958 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.663e-05/0.6914, allocations: 312 kB / 0.9583 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-06/0.6914, allocations: 5.312 kB / 0.9583 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.232e-06/0.6914, allocations: 1.344 kB / 0.9583 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.399e-05/0.6915, allocations: 9.734 kB / 0.9583 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6915, allocations: 5.094 kB / 0.9583 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.274e-05/0.6916, allocations: 34.5 kB / 0.9584 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.6916, allocations: 4.812 kB / 0.9584 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.6916, allocations: 0 / 0.9584 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.6916, allocations: 1.188 kB / 0.9584 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.304e-05/0.6917, allocations: 5.172 kB / 0.9584 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.6917, allocations: 4.094 kB / 0.9584 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.041e-05/0.6917, allocations: 1.281 kB / 0.9584 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.6917, allocations: 0 / 0.9584 GB, free: 4.391 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 5.45e-05/0.6918, allocations: 191.4 kB / 0.9586 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.6918, allocations: 112.9 kB / 0.9587 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.6919, allocations: 109.1 kB / 0.9588 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.722e-05/0.6919, allocations: 185.5 kB / 0.959 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-05/0.6919, allocations: 177.6 kB / 0.9591 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.018e-05/0.692, allocations: 183.1 kB / 0.9593 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.6921, allocations: 410.5 kB / 0.9597 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/0.6921, allocations: 104.9 kB / 0.9598 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.078e-05/0.6921, allocations: 110 kB / 0.9599 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.122e-05/0.6922, allocations: 181.4 kB / 0.9601 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.55e-05/0.6922, allocations: 185.3 kB / 0.9602 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.205e-05/0.6923, allocations: 181.4 kB / 0.9604 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.283e-05/0.6923, allocations: 177.5 kB / 0.9606 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.422e-05/0.6924, allocations: 310.4 kB / 0.9609 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.6924, allocations: 183.2 kB / 0.9611 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.14e-05/0.6925, allocations: 181.7 kB / 0.9612 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.936e-05/0.6925, allocations: 106.5 kB / 0.9613 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.6926, allocations: 181 kB / 0.9615 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.6926, allocations: 110.4 kB / 0.9616 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.908e-05/0.6926, allocations: 83.22 kB / 0.9617 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6926, allocations: 0.9375 kB / 0.9617 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002432/0.6929, allocations: 1.469 kB / 0.9617 GB, free: 0.8008 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.0003279/0.6932, allocations: 0.8132 MB / 0.9625 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.958e-05/0.6933, allocations: 5.422 kB / 0.9625 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.6933, allocations: 1.469 kB / 0.9625 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.647e-06/0.6933, allocations: 4 kB / 0.9625 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.6937, allocations: 0.5182 MB / 0.963 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003884/0.6941, allocations: 181 kB / 0.9632 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.6944, allocations: 0.6708 MB / 0.9638 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.177e-05/0.6944, allocations: 0 / 0.9638 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.689e-05/0.6945, allocations: 7.438 kB / 0.9638 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of SimCode: time 3.1e-07/0.6945, allocations: 0 / 0.9638 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01031/0.7048, allocations: 0.7638 MB / 0.9646 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002584/0.7051, allocations: 289 kB / 0.9649 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.612/2.317, allocations: 1.406 kB / 0.9649 GB, free: 13.88 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