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.001372/0.001372, allocations: 104.8 kB / 16.27 MB, free: 5.977 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.001619/0.001619, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.384/1.384, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.263/2.263, allocations: 390.3 MB / 0.6653 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 74.47 kB / 0.8132 GB, free: 33.07 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2554, allocations: 140.4 MB / 0.9503 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002718/0.2582, allocations: 1.249 MB / 0.9515 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001797/0.26, allocations: 0.887 MB / 0.9524 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.193e-05/0.2601, allocations: 0 / 0.9524 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.571e-05/0.2602, allocations: 4 kB / 0.9524 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001499/0.2603, allocations: 31.94 kB / 0.9524 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009353/0.2613, allocations: 247.5 kB / 0.9527 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.208e-05/0.2614, allocations: 31.89 kB / 0.9527 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/0.2614, allocations: 0 / 0.9527 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.967e-05/0.2615, allocations: 15.98 kB / 0.9527 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.2616, allocations: 51.94 kB / 0.9528 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.2617, allocations: 0 / 0.9528 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004479/0.2621, allocations: 279.6 kB / 0.953 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.689e-05/0.2622, allocations: 19.92 kB / 0.953 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.2622, allocations: 11.88 kB / 0.9531 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000373/0.2626, allocations: 247.7 kB / 0.9533 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2626, allocations: 0 / 0.9533 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2626, allocations: 4 kB / 0.9533 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.2626, allocations: 0 / 0.9533 GB, free: 5.77 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.0004649/0.2631, allocations: 383.2 kB / 0.9537 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.2631, allocations: 12.03 kB / 0.9537 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.2632, allocations: 4.844 kB / 0.9537 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.2633, allocations: 180.1 kB / 0.9539 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.2633, allocations: 384 / 0.9539 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.2634, allocations: 384 / 0.9539 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.2635, allocations: 65.97 kB / 0.9539 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.2635, allocations: 4 kB / 0.9539 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.2635, allocations: 0 / 0.9539 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-05/0.2636, allocations: 12 kB / 0.9539 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.368e-05/0.2636, allocations: 31.92 kB / 0.954 GB, free: 5 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002226/0.2639, allocations: 181.6 kB / 0.9541 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.972e-05/0.2639, allocations: 46.58 kB / 0.9542 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.108e-05/0.264, allocations: 36.88 kB / 0.9542 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.781e-06/0.264, allocations: 0 / 0.9542 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.264, allocations: 38.5 kB / 0.9542 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.264, allocations: 4 kB / 0.9543 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0002045/0.2642, allocations: 133.7 kB / 0.9544 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.2643, allocations: 51.41 kB / 0.9544 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.2644, allocations: 125.8 kB / 0.9545 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.2644, allocations: 25.7 kB / 0.9546 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.191e-05/0.2645, allocations: 92.14 kB / 0.9547 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.2645, allocations: 27.58 kB / 0.9547 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-05/0.2646, allocations: 21.72 kB / 0.9547 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.2647, allocations: 322.8 kB / 0.955 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.46e-05/0.2647, allocations: 23.98 kB / 0.955 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.856e-05/0.2648, allocations: 27.94 kB / 0.9551 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.516e-05/0.2649, allocations: 81.06 kB / 0.9551 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2649, allocations: 0 / 0.9551 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001136/0.265, allocations: 101.5 kB / 0.9552 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.265, allocations: 11.92 kB / 0.9553 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.265, allocations: 4.062 kB / 0.9553 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.2651, allocations: 0 / 0.9553 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.745e-06/0.2651, allocations: 4 kB / 0.9553 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.2651, allocations: 0 / 0.9553 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.992e-05/0.2651, allocations: 7.906 kB / 0.9553 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.2651, allocations: 0 / 0.9553 GB, free: 3.527 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 9.066e-05/0.2652, allocations: 121.8 kB / 0.9554 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.2652, allocations: 7.844 kB / 0.9554 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.6e-05/0.2652, allocations: 8.375 kB / 0.9554 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/0.2653, allocations: 15.98 kB / 0.9554 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2653, allocations: 0 / 0.9554 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.2653, allocations: 4 kB / 0.9554 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.2654, allocations: 173.7 kB / 0.9556 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2655, allocations: 0 / 0.9556 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.2655, allocations: 0 / 0.9556 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.2655, allocations: 3.938 kB / 0.9556 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.2655, allocations: 0 / 0.9556 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.2655, allocations: 0 / 0.9556 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2655, allocations: 0 / 0.9556 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.2656, allocations: 132.9 kB / 0.9557 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.377e-05/0.2657, allocations: 88.89 kB / 0.9558 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.2657, allocations: 7.984 kB / 0.9558 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.038e-05/0.2657, allocations: 0 / 0.9558 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.654e-05/0.2657, allocations: 3.938 kB / 0.9558 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.2658, allocations: 4 kB / 0.9558 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.381e-05/0.2658, allocations: 99.7 kB / 0.9559 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2658, allocations: 0 / 0.9559 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000348/0.2662, allocations: 76.02 kB / 0.956 GB, free: 2.699 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.0003472/0.2665, allocations: 167.1 kB / 0.9561 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001308/0.2667, allocations: 71.91 kB / 0.9562 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2667, allocations: 0 / 0.9562 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.541e-05/0.2667, allocations: 32 kB / 0.9562 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.2669, allocations: 2.297 kB / 0.9562 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004136/0.2673, allocations: 228.1 kB / 0.9565 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.2676, allocations: 0.7 MB / 0.9571 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.844e-05/0.2677, allocations: 11.44 kB / 0.9572 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of SimCode: time 3.5e-07/0.2677, allocations: 7.938 kB / 0.9572 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of Templates: time 0.00358/0.2712, allocations: 1.513 MB / 0.9586 GB, free: 15.9 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 -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