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.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: 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.001087/0.001087, allocations: 91.92 kB / 16.02 MB, free: 80 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.001726/0.001727, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.46/1.46, allocations: 223.3 MB / 241 MB, free: 5.289 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.449/2.449, allocations: 390.9 MB / 0.667 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003829/0.000383, allocations: 16 kB / 0.8167 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7982/0.7986, allocations: 142.4 MB / 0.9557 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001264/0.7999, allocations: 0.9765 MB / 0.9567 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.8013, allocations: 0.8973 MB / 0.9576 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.738e-05/0.8014, allocations: 1.25 kB / 0.9576 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.831e-05/0.8014, allocations: 0 / 0.9576 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.8016, allocations: 27.55 kB / 0.9576 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006246/0.8022, allocations: 199.3 kB / 0.9578 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.535e-05/0.8023, allocations: 36.83 kB / 0.9578 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.86e-05/0.8023, allocations: 1.031 kB / 0.9578 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.043e-05/0.8024, allocations: 26.38 kB / 0.9579 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.8025, allocations: 44.36 kB / 0.9579 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.838e-06/0.8026, allocations: 0.8438 kB / 0.9579 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003934/0.803, allocations: 275.6 kB / 0.9582 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.647e-05/0.803, allocations: 18.98 kB / 0.9582 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.988e-05/0.803, allocations: 42.2 kB / 0.9582 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.8033, allocations: 164.4 kB / 0.9584 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.8033, allocations: 4 kB / 0.9584 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8033, allocations: 1.5 kB / 0.9584 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.8033, allocations: 0 / 0.9584 GB, free: 5.863 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.0003295/0.8036, allocations: 388.2 kB / 0.9588 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.8037, allocations: 10.47 kB / 0.9588 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.8037, allocations: 6.781 kB / 0.9588 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.905e-05/0.8038, allocations: 180.1 kB / 0.9589 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.8038, allocations: 4.375 kB / 0.9589 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.8039, allocations: 2.281 kB / 0.9589 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.804, allocations: 70.98 kB / 0.959 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.804, allocations: 3.938 kB / 0.959 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.804, allocations: 0 / 0.959 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.093e-05/0.804, allocations: 9.719 kB / 0.959 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.156e-05/0.8041, allocations: 33.72 kB / 0.9591 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.8043, allocations: 168.9 kB / 0.9592 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.924e-05/0.8043, allocations: 45.23 kB / 0.9593 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.881e-05/0.8044, allocations: 39.66 kB / 0.9593 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.767e-06/0.8044, allocations: 9.438 kB / 0.9593 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.466e-05/0.8044, allocations: 34.5 kB / 0.9593 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.8044, allocations: 0 / 0.9593 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.000211/0.8046, allocations: 136 kB / 0.9595 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.8047, allocations: 51.41 kB / 0.9595 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.258e-05/0.8048, allocations: 129.9 kB / 0.9596 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.562e-06/0.8048, allocations: 25.7 kB / 0.9597 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.678e-05/0.8048, allocations: 86.83 kB / 0.9598 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.8048, allocations: 39.17 kB / 0.9598 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.997e-05/0.8049, allocations: 12.44 kB / 0.9598 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.023e-05/0.8049, allocations: 321.6 kB / 0.9601 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.772e-05/0.805, allocations: 28.61 kB / 0.9601 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.56e-05/0.805, allocations: 22 kB / 0.9602 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.526e-05/0.8051, allocations: 73.27 kB / 0.9602 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.8051, allocations: 1.375 kB / 0.9602 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001027/0.8052, allocations: 109.7 kB / 0.9603 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.8052, allocations: 8.125 kB / 0.9603 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.8052, allocations: 9.359 kB / 0.9603 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.8052, allocations: 0 / 0.9603 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.8052, allocations: 0 / 0.9603 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.8052, allocations: 1.375 kB / 0.9604 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.601e-05/0.8053, allocations: 3.938 kB / 0.9604 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.8053, allocations: 2.75 kB / 0.9604 GB, free: 4.027 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.267e-05/0.8053, allocations: 119.5 kB / 0.9605 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.8054, allocations: 10.59 kB / 0.9605 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.609e-05/0.8054, allocations: 15.12 kB / 0.9605 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/0.8054, allocations: 13.61 kB / 0.9605 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.8054, allocations: 1.375 kB / 0.9605 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.8054, allocations: 0 / 0.9605 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.8055, allocations: 174.1 kB / 0.9607 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.8055, allocations: 0 / 0.9607 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-07/0.8055, allocations: 0 / 0.9607 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.8055, allocations: 5.312 kB / 0.9607 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.8056, allocations: 0 / 0.9607 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.8056, allocations: 1.375 kB / 0.9607 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.8056, allocations: 0 / 0.9607 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.8057, allocations: 126.6 kB / 0.9608 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.315e-05/0.8057, allocations: 91.64 kB / 0.9609 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.8057, allocations: 0 / 0.9609 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.067e-05/0.8057, allocations: 1.375 kB / 0.9609 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.385e-05/0.8058, allocations: 5.359 kB / 0.9609 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.8058, allocations: 5.375 kB / 0.9609 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.643e-05/0.8058, allocations: 103.8 kB / 0.961 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8058, allocations: 1.375 kB / 0.961 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003016/0.8061, allocations: 73.7 kB / 0.9611 GB, free: 3.375 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.0002931/0.8064, allocations: 173.8 kB / 0.9612 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001142/0.8066, allocations: 63.02 kB / 0.9613 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.8066, allocations: 0.75 kB / 0.9613 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.537e-05/0.8066, allocations: 40.42 kB / 0.9613 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.8067, allocations: 5.641 kB / 0.9613 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003208/0.8071, allocations: 248.3 kB / 0.9616 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.8072, allocations: 0.6935 MB / 0.9623 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.169e-05/0.8073, allocations: 18.44 kB / 0.9623 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8073, allocations: 0 / 0.9623 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of Templates: time 0.003206/0.8105, allocations: 1.494 MB / 0.9637 GB, free: 1.559 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/jenkins1/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