Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001294/0.001294, allocations: 110 kB / 16.41 MB, free: 6.504 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.001353/0.001353, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.441/1.441, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.65/2.65, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 63.91 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8239/0.8259, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002329/0.8283, allocations: 1.256 MB / 1.169 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001561/0.8299, allocations: 0.8876 MB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.434e-05/0.8299, allocations: 0 / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.83, allocations: 3.984 kB / 1.169 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.8301, allocations: 23.97 kB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007936/0.8309, allocations: 249.4 kB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.452e-05/0.831, allocations: 27.91 kB / 1.17 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.325e-05/0.831, allocations: 4 kB / 1.17 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.857e-05/0.8311, allocations: 19.97 kB / 1.17 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.8312, allocations: 47.94 kB / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.8313, allocations: 0 / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004587/0.8317, allocations: 287.6 kB / 1.17 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.268e-05/0.8318, allocations: 15.92 kB / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.228e-05/0.8318, allocations: 19.86 kB / 1.17 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000355/0.8322, allocations: 231.9 kB / 1.17 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.8322, allocations: 7.938 kB / 1.17 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8322, allocations: 3.938 kB / 1.17 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.8322, allocations: 0 / 1.17 GB, free: 0.7578 MB / 0.8887 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.0004565/0.8327, allocations: 405 kB / 1.171 GB, free: 324 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.8327, allocations: 8.922 kB / 1.171 GB, free: 316 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.8328, allocations: 12.88 kB / 1.171 GB, free: 304 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.8329, allocations: 172.3 kB / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.8329, allocations: 384 / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.833, allocations: 384 / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.8331, allocations: 62 kB / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.8331, allocations: 0 / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.8331, allocations: 0 / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.259e-05/0.8332, allocations: 15.98 kB / 1.171 GB, free: 8 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.546e-05/0.8332, allocations: 31.92 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002329/0.8335, allocations: 169.7 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.107e-05/0.8335, allocations: 50.56 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.752e-05/0.8336, allocations: 40.88 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.8336, allocations: 0 / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.8336, allocations: 34.5 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.8337, allocations: 4.188 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0002341/0.8339, allocations: 133.5 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.8339, allocations: 51.41 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.8341, allocations: 129.8 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.8341, allocations: 29.7 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.984e-05/0.8342, allocations: 88.12 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.416e-05/0.8342, allocations: 39.62 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.8343, allocations: 17.7 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.8344, allocations: 326.9 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.44e-05/0.8344, allocations: 24 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.224e-05/0.8345, allocations: 32.27 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.718e-05/0.8346, allocations: 72.86 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.8346, allocations: 3.938 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001165/0.8347, allocations: 97.56 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.8347, allocations: 7.938 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.8347, allocations: 0 / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.8348, allocations: 7.984 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.8348, allocations: 4.062 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.8348, allocations: 0 / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.554e-05/0.8348, allocations: 0 / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.8348, allocations: 4 kB / 1.172 GB, free: 14.5 MB / 0.9044 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.245e-05/0.8349, allocations: 117.8 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.8349, allocations: 15.89 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.578e-05/0.835, allocations: 8.359 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/0.835, allocations: 12 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.835, allocations: 0 / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.835, allocations: 4 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.8352, allocations: 177.5 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.8352, allocations: 0 / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.8352, allocations: 0 / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.8352, allocations: 3.938 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.8352, allocations: 4 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.8352, allocations: 0 / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.8352, allocations: 7.922 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.8354, allocations: 121 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.922e-05/0.8354, allocations: 97.03 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.8354, allocations: 0 / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.061e-05/0.8355, allocations: 0 / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.298e-05/0.8355, allocations: 4 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.8355, allocations: 4 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.915e-05/0.8356, allocations: 103.2 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8356, allocations: 3.938 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003154/0.8359, allocations: 67.88 kB / 1.173 GB, free: 13.67 MB / 0.9044 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.0003388/0.8362, allocations: 194.9 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001239/0.8364, allocations: 63.98 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.8364, allocations: 0 / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.893e-05/0.8364, allocations: 35.98 kB / 1.173 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.8366, allocations: 0 / 1.173 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003837/0.837, allocations: 203.1 kB / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.8373, allocations: 0.6924 MB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.416e-05/0.8373, allocations: 8.125 kB / 1.174 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/0.8374, allocations: 7.438 kB / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of SimCode: time 3.3e-07/0.8374, allocations: 0 / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of Templates: time 0.004559/0.8419, allocations: 1.488 MB / 1.176 GB, free: 10.97 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches