Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.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.AggregationWeightingFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kappa.4.|kappa.5.|kappa.6.|kappa.7.",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kappa.4.|kappa.5.|kappa.6.|kappa.7.",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001976/0.001976, allocations: 195 kB / 16.53 MB, free: 6.391 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: 222.9 MB / 240.2 MB, free: 4.391 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.377/2.377, allocations: 390.2 MB / 0.6647 GB, free: 480 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 63.89 kB / 0.8126 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6737/0.6751, allocations: 140.4 MB / 0.9496 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002581/0.6777, allocations: 1.25 MB / 0.9508 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.6791, allocations: 0.878 MB / 0.9517 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.75e-05/0.6791, allocations: 0 / 0.9517 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.615e-05/0.6792, allocations: 5.375 kB / 0.9517 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.6793, allocations: 27.08 kB / 0.9517 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008749/0.6802, allocations: 249.5 kB / 0.952 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.702e-05/0.6803, allocations: 29.89 kB / 0.952 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.728e-05/0.6804, allocations: 9.406 kB / 0.952 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.679e-05/0.6804, allocations: 22.88 kB / 0.952 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.6806, allocations: 43.27 kB / 0.9521 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.6806, allocations: 0.8438 kB / 0.9521 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004529/0.6811, allocations: 276.2 kB / 0.9523 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.685e-05/0.6811, allocations: 20.89 kB / 0.9524 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.6812, allocations: 13.25 kB / 0.9524 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004255/0.6816, allocations: 252.9 kB / 0.9526 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.6816, allocations: 0 / 0.9526 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6816, allocations: 0 / 0.9526 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.6816, allocations: 1.281 kB / 0.9526 GB, free: 6.918 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004263/0.6821, allocations: 384.5 kB / 0.953 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.6821, allocations: 9.281 kB / 0.953 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.6821, allocations: 7.375 kB / 0.953 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.845e-05/0.6822, allocations: 175.7 kB / 0.9532 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.6823, allocations: 384 / 0.9532 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.6823, allocations: 5.75 kB / 0.9532 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.6824, allocations: 67.77 kB / 0.9532 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.6824, allocations: 0 / 0.9532 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.6825, allocations: 3.984 kB / 0.9532 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.549e-05/0.6825, allocations: 10.47 kB / 0.9532 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.186e-05/0.6825, allocations: 29.52 kB / 0.9533 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001826/0.6827, allocations: 167.9 kB / 0.9534 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.195e-05/0.6828, allocations: 45.98 kB / 0.9535 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.231e-05/0.6829, allocations: 43.25 kB / 0.9535 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.6829, allocations: 1.562 kB / 0.9535 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.6829, allocations: 42.44 kB / 0.9536 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.6829, allocations: 0 / 0.9536 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0002291/0.6831, allocations: 126.8 kB / 0.9537 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.6832, allocations: 56.38 kB / 0.9537 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.6833, allocations: 130.2 kB / 0.9539 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.6833, allocations: 25.98 kB / 0.9539 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.651e-05/0.6833, allocations: 90.64 kB / 0.954 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.6834, allocations: 31.23 kB / 0.954 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.6834, allocations: 19.16 kB / 0.954 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.611e-05/0.6835, allocations: 321.6 kB / 0.9543 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.523e-05/0.6835, allocations: 28.83 kB / 0.9544 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.863e-05/0.6836, allocations: 24.75 kB / 0.9544 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.659e-05/0.6837, allocations: 69.45 kB / 0.9544 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.6837, allocations: 0.9688 kB / 0.9544 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000117/0.6838, allocations: 105.3 kB / 0.9545 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.6838, allocations: 10.22 kB / 0.9546 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.6838, allocations: 3.984 kB / 0.9546 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.6839, allocations: 0 / 0.9546 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.365e-06/0.6839, allocations: 5.219 kB / 0.9546 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.6839, allocations: 0 / 0.9546 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.254e-05/0.6839, allocations: 5.375 kB / 0.9546 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.6839, allocations: 2.312 kB / 0.9546 GB, free: 5.105 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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 6.929e-05/0.684, allocations: 118.6 kB / 0.9547 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.684, allocations: 14.19 kB / 0.9547 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.518e-05/0.684, allocations: 7.781 kB / 0.9547 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.341e-05/0.6841, allocations: 13.77 kB / 0.9547 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6841, allocations: 0 / 0.9547 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.6841, allocations: 1.156 kB / 0.9547 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.6842, allocations: 178.2 kB / 0.9549 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6842, allocations: 4 kB / 0.9549 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.21e-07/0.6842, allocations: 0 / 0.9549 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.6842, allocations: 5.062 kB / 0.9549 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.6842, allocations: 4.078 kB / 0.9549 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.6842, allocations: 5.125 kB / 0.9549 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6842, allocations: 4 kB / 0.9549 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.6844, allocations: 123.1 kB / 0.955 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.6844, allocations: 87.61 kB / 0.9551 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.6844, allocations: 3.938 kB / 0.9551 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.151e-05/0.6844, allocations: 1.406 kB / 0.9551 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-05/0.6845, allocations: 5.391 kB / 0.9551 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.6845, allocations: 1.062 kB / 0.9551 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.919e-05/0.6845, allocations: 104.5 kB / 0.9552 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6845, allocations: 1.281 kB / 0.9552 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003952/0.6849, allocations: 73.02 kB / 0.9553 GB, free: 4.445 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.000381/0.6853, allocations: 166.5 kB / 0.9555 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001311/0.6855, allocations: 63.45 kB / 0.9555 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.6855, allocations: 3.938 kB / 0.9555 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.623e-05/0.6855, allocations: 39.8 kB / 0.9556 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.6857, allocations: 7.156 kB / 0.9556 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003758/0.6861, allocations: 199.2 kB / 0.9557 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.6862, allocations: 0.7016 MB / 0.9564 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.793e-05/0.6863, allocations: 8.312 kB / 0.9564 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.6863, allocations: 11.42 kB / 0.9565 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.6863, allocations: 3.062 kB / 0.9565 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of Templates: time 0.004965/0.6913, allocations: 1.465 MB / 0.9579 GB, free: 2.695 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches