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.001255/0.001255, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001325/0.001325, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.224/1.224, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.092/2.092, allocations: 390.2 MB / 0.6643 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001209, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5409/0.5421, allocations: 140.4 MB / 0.9491 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001535/0.5437, allocations: 0.6102 MB / 0.9497 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006139/0.5443, allocations: 0.7812 MB / 0.9504 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.426e-06/0.5443, allocations: 1.375 kB / 0.9504 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.192e-05/0.5443, allocations: 0 / 0.9504 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.278e-06/0.5443, allocations: 0 / 0.9504 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.5445, allocations: 13.42 kB / 0.9505 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 2.691e-05/0.5446, allocations: 5.375 kB / 0.9505 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.331e-05/0.5446, allocations: 5.359 kB / 0.9505 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.059e-05/0.5446, allocations: 0 / 0.9505 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.5447, allocations: 20.36 kB / 0.9505 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.422e-06/0.5447, allocations: 0 / 0.9505 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.925e-06/0.5447, allocations: 0 / 0.9505 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.494e-06/0.5448, allocations: 0 / 0.9505 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.36e-05/0.5448, allocations: 1.375 kB / 0.9505 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 2.416e-05/0.5448, allocations: 0 / 0.9505 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.5448, allocations: 0 / 0.9505 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.61e-07/0.5448, allocations: 1.375 kB / 0.9505 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.5448, allocations: 0 / 0.9505 GB, free: 8.086 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.0001541/0.545, allocations: 318.3 kB / 0.9508 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.545, allocations: 9.625 kB / 0.9508 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.715e-05/0.545, allocations: 34.69 kB / 0.9508 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.466e-05/0.5451, allocations: 0.9375 kB / 0.9508 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.035e-05/0.5451, allocations: 165.7 kB / 0.951 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.35e-06/0.5451, allocations: 384 / 0.951 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.082e-06/0.5451, allocations: 384 / 0.951 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.761e-05/0.5452, allocations: 29.02 kB / 0.951 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.5452, allocations: 7.938 kB / 0.951 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.618e-06/0.5452, allocations: 0 / 0.951 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-06/0.5452, allocations: 0 / 0.951 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.144e-05/0.5452, allocations: 1.375 kB / 0.951 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001509/0.5454, allocations: 382.2 kB / 0.9514 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.571e-05/0.5454, allocations: 174.4 kB / 0.9516 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.302e-05/0.5454, allocations: 84.14 kB / 0.9516 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.5455, allocations: 75.28 kB / 0.9517 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.5455, allocations: 115.2 kB / 0.9518 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 6.72e-07/0.5455, allocations: 0 / 0.9518 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 4.87e-05/0.5455, allocations: 35 kB / 0.9519 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/0.5456, allocations: 130.6 kB / 0.952 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.232e-05/0.5456, allocations: 100.5 kB / 0.9521 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.817e-06/0.5456, allocations: 25.7 kB / 0.9521 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.338e-05/0.5456, allocations: 80.14 kB / 0.9522 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.746e-06/0.5456, allocations: 1.375 kB / 0.9522 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-05/0.5457, allocations: 15.09 kB / 0.9522 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.297e-05/0.5457, allocations: 312.2 kB / 0.9525 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.51e-06/0.5457, allocations: 0 / 0.9525 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.807e-06/0.5457, allocations: 1.5 kB / 0.9525 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.744e-05/0.5457, allocations: 10.33 kB / 0.9525 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5457, allocations: 3.938 kB / 0.9525 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.423e-05/0.5458, allocations: 39.12 kB / 0.9525 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.5458, allocations: 5.5 kB / 0.9526 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-06/0.5458, allocations: 0 / 0.9526 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.5458, allocations: 0 / 0.9526 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.542e-05/0.5459, allocations: 2.75 kB / 0.9526 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.5459, allocations: 0 / 0.9526 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.457e-06/0.5459, allocations: 4 kB / 0.9526 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-06/0.5459, allocations: 5.406 kB / 0.9526 GB, free: 5.77 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 3.681e-05/0.546, allocations: 194.4 kB / 0.9527 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.546, allocations: 106.3 kB / 0.9528 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.656e-05/0.546, allocations: 111.8 kB / 0.953 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/0.546, allocations: 177.6 kB / 0.9531 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.101e-05/0.5461, allocations: 181.6 kB / 0.9533 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.293e-05/0.5461, allocations: 183 kB / 0.9535 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.5462, allocations: 406.5 kB / 0.9539 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/0.5462, allocations: 104.9 kB / 0.954 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.159e-05/0.5462, allocations: 102.4 kB / 0.9541 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-05/0.5463, allocations: 177.6 kB / 0.9542 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.5463, allocations: 188.2 kB / 0.9544 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.388e-05/0.5463, allocations: 181.6 kB / 0.9546 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.361e-05/0.5464, allocations: 181.6 kB / 0.9548 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.658e-05/0.5464, allocations: 302.5 kB / 0.955 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.312e-05/0.5464, allocations: 195.4 kB / 0.9552 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.5465, allocations: 181.9 kB / 0.9554 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.556e-05/0.5465, allocations: 106.3 kB / 0.9555 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.165e-05/0.5465, allocations: 176.3 kB / 0.9557 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.5466, allocations: 114.3 kB / 0.9558 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.458e-05/0.5466, allocations: 76.66 kB / 0.9559 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5466, allocations: 4.094 kB / 0.9559 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001948/0.5468, allocations: 1.375 kB / 0.9559 GB, free: 2.191 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.0001927/0.547, allocations: 0.8102 MB / 0.9566 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 3.787e-05/0.547, allocations: 5.359 kB / 0.9567 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.547, allocations: 4.062 kB / 0.9567 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.154e-06/0.547, allocations: 5.719 kB / 0.9567 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.5473, allocations: 0.522 MB / 0.9572 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002314/0.5475, allocations: 176.7 kB / 0.9573 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.5476, allocations: 0.6706 MB / 0.958 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.987e-06/0.5477, allocations: 4 kB / 0.958 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.187e-05/0.5477, allocations: 8.469 kB / 0.958 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of SimCode: time 1.9e-07/0.5477, allocations: 0 / 0.958 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8633/1.411, allocations: 0.8206 MB / 0.9588 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003839/1.411, allocations: 281.1 kB / 0.9591 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/3.077, allocations: 2.812 kB / 0.9591 GB, free: 15.18 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