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.001255/0.001255, allocations: 115.6 kB / 16.37 MB, free: 6.012 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.001236/0.001236, allocations: 191.9 kB / 17.31 MB, free: 5.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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.181/2.181, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001367, allocations: 71.05 kB / 0.8141 GB, free: 32.77 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.265, allocations: 140.4 MB / 0.9512 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002306/0.2673, allocations: 1.256 MB / 0.9524 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.2686, allocations: 0.8948 MB / 0.9533 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.188e-05/0.2687, allocations: 0 / 0.9533 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.473e-05/0.2687, allocations: 0 / 0.9533 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.2688, allocations: 31.95 kB / 0.9533 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007226/0.2696, allocations: 239.4 kB / 0.9535 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.738e-05/0.2696, allocations: 31.95 kB / 0.9536 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.168e-05/0.2697, allocations: 4 kB / 0.9536 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.186e-05/0.2697, allocations: 15.98 kB / 0.9536 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.2699, allocations: 47.94 kB / 0.9536 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.516e-06/0.2699, allocations: 3.938 kB / 0.9536 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004021/0.2703, allocations: 291.5 kB / 0.9539 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.206e-05/0.2703, allocations: 11.98 kB / 0.9539 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.46e-05/0.2704, allocations: 15.81 kB / 0.9539 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.2707, allocations: 243.4 kB / 0.9542 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2707, allocations: 0 / 0.9542 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2707, allocations: 4 kB / 0.9542 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2707, allocations: 0 / 0.9542 GB, free: 4.926 MB / 0.7325 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.0003669/0.2711, allocations: 384.3 kB / 0.9545 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.2711, allocations: 8.031 kB / 0.9545 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.2712, allocations: 8.844 kB / 0.9545 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.2713, allocations: 176.2 kB / 0.9547 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.2713, allocations: 384 / 0.9547 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-06/0.2713, allocations: 384 / 0.9547 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.2714, allocations: 61.94 kB / 0.9548 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.571e-06/0.2715, allocations: 0 / 0.9548 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-06/0.2715, allocations: 0 / 0.9548 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.834e-05/0.2715, allocations: 15.98 kB / 0.9548 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.593e-05/0.2715, allocations: 35.97 kB / 0.9548 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000187/0.2717, allocations: 169.6 kB / 0.955 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.673e-05/0.2718, allocations: 50.56 kB / 0.955 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.297e-05/0.2719, allocations: 45 kB / 0.9551 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.8e-06/0.2719, allocations: 3.938 kB / 0.9551 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.2719, allocations: 38.5 kB / 0.9551 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.2719, allocations: 0 / 0.9551 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0001878/0.2721, allocations: 129.5 kB / 0.9552 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.2721, allocations: 55.41 kB / 0.9553 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.958e-05/0.2722, allocations: 129.8 kB / 0.9554 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.2723, allocations: 33.67 kB / 0.9554 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.78e-05/0.2723, allocations: 88.14 kB / 0.9555 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.2723, allocations: 27.55 kB / 0.9556 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.2724, allocations: 21.72 kB / 0.9556 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.2725, allocations: 322.9 kB / 0.9559 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.75e-05/0.2725, allocations: 20 kB / 0.9559 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.331e-05/0.2726, allocations: 31.98 kB / 0.9559 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.673e-05/0.2726, allocations: 68.83 kB / 0.956 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2726, allocations: 0 / 0.956 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000118/0.2728, allocations: 101.9 kB / 0.9561 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.2728, allocations: 13.66 kB / 0.9561 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2728, allocations: 0 / 0.9561 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.2728, allocations: 0 / 0.9561 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.2728, allocations: 8 kB / 0.9561 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/0.2728, allocations: 0 / 0.9561 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.628e-05/0.2728, allocations: 3.906 kB / 0.9561 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.2729, allocations: 4 kB / 0.9561 GB, free: 2.691 MB / 0.7325 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 7.331e-05/0.2729, allocations: 117.8 kB / 0.9562 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.273, allocations: 15.83 kB / 0.9563 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.267e-05/0.273, allocations: 8.375 kB / 0.9563 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.826e-05/0.273, allocations: 12 kB / 0.9563 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.273, allocations: 0 / 0.9563 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.273, allocations: 7.984 kB / 0.9563 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.2731, allocations: 173.6 kB / 0.9564 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2732, allocations: 0 / 0.9564 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.743e-06/0.2732, allocations: 4 kB / 0.9564 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.2732, allocations: 3.938 kB / 0.9565 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.2732, allocations: 0 / 0.9565 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.2732, allocations: 3.984 kB / 0.9565 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2732, allocations: 0 / 0.9565 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.2733, allocations: 125 kB / 0.9566 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/0.2734, allocations: 92.83 kB / 0.9567 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.2734, allocations: 3.938 kB / 0.9567 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.064e-05/0.2734, allocations: 0 / 0.9567 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.039e-05/0.2734, allocations: 4 kB / 0.9567 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.2734, allocations: 3.984 kB / 0.9567 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.605e-05/0.2735, allocations: 107.6 kB / 0.9568 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2735, allocations: 4 kB / 0.9568 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002767/0.2738, allocations: 68 kB / 0.9568 GB, free: 1.855 MB / 0.7325 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.0002963/0.2741, allocations: 175.2 kB / 0.957 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001035/0.2742, allocations: 63.98 kB / 0.9571 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2742, allocations: 0 / 0.9571 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.016e-05/0.2742, allocations: 39.92 kB / 0.9571 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.2744, allocations: 0 / 0.9571 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003204/0.2747, allocations: 195.6 kB / 0.9573 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.275, allocations: 0.704 MB / 0.958 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.927e-05/0.275, allocations: 4 kB / 0.958 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.275, allocations: 7.438 kB / 0.958 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.275, allocations: 0 / 0.958 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of Templates: time 0.003843/0.2789, allocations: 1.474 MB / 0.9594 GB, free: 15.18 MB / 0.7481 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 -s cvode -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