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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|i",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|i",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.00756/0.00756, allocations: 174.6 kB / 16.27 MB, free: 6.613 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.348/1.348, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.384/2.384, allocations: 390.9 MB / 0.6663 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.0003339, allocations: 8 kB / 0.816 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7169/0.7172, allocations: 142.4 MB / 0.9551 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0006632/0.7179, allocations: 282 kB / 0.9553 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007812/0.7187, allocations: 0.7812 MB / 0.9561 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.568e-06/0.7188, allocations: 1.281 kB / 0.9561 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.007e-05/0.7188, allocations: 0 / 0.9561 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.718e-06/0.7188, allocations: 0 / 0.9561 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.719, allocations: 8.938 kB / 0.9561 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.197e-05/0.719, allocations: 1 kB / 0.9561 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.518e-05/0.7191, allocations: 5.438 kB / 0.9561 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.454e-05/0.7191, allocations: 5.125 kB / 0.9561 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.7192, allocations: 19.31 kB / 0.9561 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.895e-06/0.7193, allocations: 0 / 0.9561 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.035e-06/0.7193, allocations: 0 / 0.9561 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.025e-06/0.7193, allocations: 1.031 kB / 0.9561 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.005e-05/0.7193, allocations: 25.7 kB / 0.9562 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.019e-05/0.7193, allocations: 9.172 kB / 0.9562 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.7193, allocations: 0 / 0.9562 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7194, allocations: 0 / 0.9562 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.7194, allocations: 0 / 0.9562 GB, free: 6.773 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.0001716/0.7195, allocations: 318 kB / 0.9565 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.7196, allocations: 8.875 kB / 0.9565 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.7196, allocations: 4.922 kB / 0.9565 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.639e-05/0.7197, allocations: 161.8 kB / 0.9567 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.7197, allocations: 384 / 0.9567 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-06/0.7197, allocations: 384 / 0.9567 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.398e-05/0.7198, allocations: 36.34 kB / 0.9567 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.7198, allocations: 192 / 0.9567 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.7198, allocations: 9.438 kB / 0.9567 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.7198, allocations: 0 / 0.9567 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.545e-05/0.7198, allocations: 1.5 kB / 0.9567 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002/0.7201, allocations: 376.9 kB / 0.9571 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.598e-05/0.7201, allocations: 174.5 kB / 0.9572 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.52e-05/0.7201, allocations: 84.08 kB / 0.9573 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.7201, allocations: 80.73 kB / 0.9574 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.7202, allocations: 109.8 kB / 0.9575 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.7202, allocations: 0 / 0.9575 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.807e-05/0.7202, allocations: 31.14 kB / 0.9575 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.7203, allocations: 130.7 kB / 0.9576 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.505e-05/0.7203, allocations: 96.67 kB / 0.9577 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.069e-06/0.7204, allocations: 25.7 kB / 0.9578 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.559e-05/0.7204, allocations: 80.14 kB / 0.9578 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-06/0.7204, allocations: 0 / 0.9578 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.74e-05/0.7204, allocations: 11.09 kB / 0.9578 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.732e-05/0.7204, allocations: 318.8 kB / 0.9581 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.991e-06/0.7205, allocations: 5.094 kB / 0.9582 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.089e-06/0.7205, allocations: 2.062 kB / 0.9582 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.833e-05/0.7205, allocations: 6.234 kB / 0.9582 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.7205, allocations: 0 / 0.9582 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.732e-05/0.7206, allocations: 39.14 kB / 0.9582 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.7206, allocations: 6.156 kB / 0.9582 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.7206, allocations: 0 / 0.9582 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.7206, allocations: 0.9062 kB / 0.9582 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.211e-05/0.7207, allocations: 1.5 kB / 0.9582 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.7207, allocations: 4 kB / 0.9582 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.013e-05/0.7207, allocations: 1.094 kB / 0.9582 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.7207, allocations: 1.25 kB / 0.9582 GB, free: 4.508 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.682e-05/0.7207, allocations: 194.2 kB / 0.9584 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.782e-05/0.7208, allocations: 105.9 kB / 0.9585 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.073e-05/0.7208, allocations: 113 kB / 0.9586 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.176e-05/0.7208, allocations: 181.3 kB / 0.9588 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.488e-05/0.7209, allocations: 181.7 kB / 0.959 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-05/0.7209, allocations: 185.6 kB / 0.9591 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.721, allocations: 402.6 kB / 0.9595 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/0.721, allocations: 106.4 kB / 0.9596 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.332e-05/0.7211, allocations: 102.3 kB / 0.9597 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.934e-05/0.7211, allocations: 188.2 kB / 0.9599 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.7211, allocations: 177.9 kB / 0.9601 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.478e-05/0.7212, allocations: 177.5 kB / 0.9602 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.401e-05/0.7212, allocations: 189.3 kB / 0.9604 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.305e-05/0.7213, allocations: 311 kB / 0.9607 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.045e-05/0.7213, allocations: 182.1 kB / 0.9609 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.7213, allocations: 178 kB / 0.9611 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.358e-05/0.7214, allocations: 110.3 kB / 0.9612 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.099e-05/0.7214, allocations: 181.8 kB / 0.9613 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.7214, allocations: 109 kB / 0.9614 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.568e-05/0.7215, allocations: 80.44 kB / 0.9615 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7215, allocations: 1.094 kB / 0.9615 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002279/0.7217, allocations: 0 / 0.9615 GB, free: 0.9258 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 9.901e-05/0.7218, allocations: 176.6 kB / 0.9617 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.326e-05/0.7219, allocations: 6.656 kB / 0.9617 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7219, allocations: 0 / 0.9617 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.7219, allocations: 4.156 kB / 0.9617 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.7221, allocations: 0.5245 MB / 0.9622 GB, free: 236 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001266/0.7223, allocations: 150.7 kB / 0.9623 GB, free: 60 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.7225, allocations: 0.6702 MB / 0.963 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.161e-05/0.7225, allocations: 0 / 0.963 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.379e-05/0.7225, allocations: 7.438 kB / 0.963 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.7225, allocations: 5.406 kB / 0.963 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of Templates: time 0.001784/0.7243, allocations: 174.8 kB / 0.9632 GB, free: 15.29 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile (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 & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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