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.001405/0.001405, allocations: 100.1 kB / 15.88 MB, free: 12 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.001621/0.001621, allocations: 196.5 kB / 16.79 MB, free: 6.828 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.39/1.39, allocations: 222.9 MB / 240.5 MB, free: 4.598 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.415/2.415, allocations: 390.2 MB / 0.6649 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 59.91 kB / 0.8125 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7328/0.7343, allocations: 140.4 MB / 0.9496 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002185/0.7366, allocations: 1.307 MB / 0.9509 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.738, allocations: 0.9162 MB / 0.9518 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.935e-05/0.738, allocations: 0 / 0.9518 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.588e-05/0.738, allocations: 0.875 kB / 0.9518 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.7382, allocations: 35.44 kB / 0.9518 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006757/0.7389, allocations: 196 kB / 0.952 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.797e-05/0.739, allocations: 36.48 kB / 0.952 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.739, allocations: 1.344 kB / 0.9521 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.17e-05/0.739, allocations: 18.27 kB / 0.9521 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.7392, allocations: 52.81 kB / 0.9521 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.809e-06/0.7392, allocations: 0 / 0.9521 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003813/0.7396, allocations: 275.7 kB / 0.9524 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.517e-05/0.7397, allocations: 18.77 kB / 0.9524 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.755e-05/0.7397, allocations: 16.11 kB / 0.9524 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.7399, allocations: 173.3 kB / 0.9526 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.7399, allocations: 0 / 0.9526 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.01e-07/0.7399, allocations: 5.031 kB / 0.9526 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.74, allocations: 0 / 0.9526 GB, free: 6.977 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.0003242/0.7403, allocations: 396.1 kB / 0.953 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.7403, allocations: 9.094 kB / 0.953 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.7404, allocations: 7.188 kB / 0.953 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.209e-05/0.7404, allocations: 172.3 kB / 0.9531 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.497e-06/0.7405, allocations: 384 / 0.9531 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-06/0.7405, allocations: 1.969 kB / 0.9531 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.7406, allocations: 63.97 kB / 0.9532 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.7406, allocations: 0 / 0.9532 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.7406, allocations: 1.031 kB / 0.9532 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.864e-05/0.7406, allocations: 12.89 kB / 0.9532 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.616e-05/0.7407, allocations: 28.89 kB / 0.9532 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.7408, allocations: 173.1 kB / 0.9534 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.796e-05/0.7409, allocations: 49.78 kB / 0.9535 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.53e-05/0.7409, allocations: 43.03 kB / 0.9535 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.833e-06/0.741, allocations: 1.219 kB / 0.9535 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.741, allocations: 35.56 kB / 0.9535 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.741, allocations: 0 / 0.9535 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0001936/0.7412, allocations: 134.1 kB / 0.9537 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.7412, allocations: 53.03 kB / 0.9537 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.974e-05/0.7413, allocations: 129.8 kB / 0.9538 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.623e-06/0.7413, allocations: 25.7 kB / 0.9539 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.583e-05/0.7413, allocations: 98.91 kB / 0.954 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.7414, allocations: 28.17 kB / 0.954 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.7414, allocations: 22.81 kB / 0.954 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.184e-05/0.7415, allocations: 325.5 kB / 0.9543 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.949e-05/0.7415, allocations: 24.08 kB / 0.9543 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.675e-05/0.7415, allocations: 33.69 kB / 0.9544 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.811e-05/0.7416, allocations: 68.89 kB / 0.9544 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.7416, allocations: 1.375 kB / 0.9544 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001/0.7417, allocations: 104.9 kB / 0.9545 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.7418, allocations: 12.16 kB / 0.9545 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.7418, allocations: 0 / 0.9545 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.7418, allocations: 0 / 0.9545 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.803e-06/0.7418, allocations: 5.078 kB / 0.9546 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.7418, allocations: 0 / 0.9546 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.815e-05/0.7418, allocations: 5.281 kB / 0.9546 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.7418, allocations: 2.406 kB / 0.9546 GB, free: 5.148 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 5.903e-05/0.7419, allocations: 119.3 kB / 0.9547 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.114e-05/0.7419, allocations: 10.41 kB / 0.9547 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.305e-05/0.7419, allocations: 11.19 kB / 0.9547 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.98e-05/0.742, allocations: 13.42 kB / 0.9547 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.742, allocations: 1.156 kB / 0.9547 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.742, allocations: 0 / 0.9547 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.7421, allocations: 174.4 kB / 0.9549 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.7421, allocations: 0 / 0.9549 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.583e-06/0.7421, allocations: 3.984 kB / 0.9549 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.7421, allocations: 4.938 kB / 0.9549 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.7421, allocations: 1.25 kB / 0.9549 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.7421, allocations: 0 / 0.9549 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.7421, allocations: 7.938 kB / 0.9549 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.7422, allocations: 124.3 kB / 0.955 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.125e-05/0.7423, allocations: 86.52 kB / 0.9551 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.7423, allocations: 1.375 kB / 0.9551 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.111e-05/0.7423, allocations: 0 / 0.9551 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.242e-05/0.7423, allocations: 5.016 kB / 0.9551 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.7423, allocations: 5.969 kB / 0.9551 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.348e-05/0.7424, allocations: 104 kB / 0.9552 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.92e-07/0.7424, allocations: 0 / 0.9552 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003463/0.7427, allocations: 83.38 kB / 0.9553 GB, free: 4.488 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.0002902/0.743, allocations: 173.4 kB / 0.9554 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001172/0.7431, allocations: 63.98 kB / 0.9555 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.7432, allocations: 0 / 0.9555 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.06e-05/0.7432, allocations: 35.39 kB / 0.9555 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.7433, allocations: 1.219 kB / 0.9555 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003044/0.7437, allocations: 248.2 kB / 0.9558 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.7438, allocations: 0.6967 MB / 0.9565 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.7438, allocations: 16.72 kB / 0.9565 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.7438, allocations: 0 / 0.9565 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of Templates: time 0.002943/0.7468, allocations: 1.49 MB / 0.9579 GB, free: 2.676 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