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.005442/0.005442, allocations: 97.98 kB / 15.73 MB, free: 5.602 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.00131/0.00131, allocations: 194.8 kB / 16.68 MB, free: 5.523 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.288/1.288, allocations: 222.9 MB / 240.4 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.397/2.397, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.89 kB / 1.019 GB, free: 9.324 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7635/0.7647, allocations: 151.6 MB / 1.167 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002378/0.7672, allocations: 1.249 MB / 1.168 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001595/0.7688, allocations: 0.8953 MB / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.085e-05/0.7688, allocations: 4 kB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.55e-05/0.7689, allocations: 0 / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.769, allocations: 23.97 kB / 1.169 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.7701, allocations: 240.6 kB / 1.169 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.7702, allocations: 27.95 kB / 1.169 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.806e-05/0.7702, allocations: 4 kB / 1.169 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.983e-05/0.7703, allocations: 23.91 kB / 1.169 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.7704, allocations: 43.95 kB / 1.169 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.7705, allocations: 0 / 1.169 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005086/0.771, allocations: 291.5 kB / 1.169 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.459e-05/0.771, allocations: 15.92 kB / 1.169 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.098e-05/0.7711, allocations: 15.88 kB / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003485/0.7714, allocations: 235.9 kB / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.7715, allocations: 7.938 kB / 1.17 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.459e-06/0.7715, allocations: 8 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.7715, allocations: 0 / 1.17 GB, free: 0.7148 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.0004576/0.7719, allocations: 390.8 kB / 1.17 GB, free: 292 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.772, allocations: 8.922 kB / 1.17 GB, free: 284 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.946e-05/0.772, allocations: 8.891 kB / 1.17 GB, free: 276 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.7722, allocations: 176.2 kB / 1.17 GB, free: 60 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.7722, allocations: 4.359 kB / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.7722, allocations: 384 / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.7723, allocations: 69.94 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.7723, allocations: 0 / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.7724, allocations: 0 / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.958e-05/0.7724, allocations: 11.98 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.212e-05/0.7724, allocations: 35.92 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.7726, allocations: 161.7 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 6.41e-05/0.7727, allocations: 50.56 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.735e-05/0.7727, allocations: 40.88 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.7728, allocations: 4 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.7728, allocations: 34.5 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.143e-06/0.7728, allocations: 0 / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0001954/0.773, allocations: 133.7 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.773, allocations: 55.41 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.272e-05/0.7731, allocations: 129.8 kB / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.7731, allocations: 25.7 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.614e-05/0.7732, allocations: 84.14 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/0.7732, allocations: 43.66 kB / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.7733, allocations: 17.72 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.351e-05/0.7734, allocations: 318.8 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.848e-05/0.7734, allocations: 24 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.501e-05/0.7734, allocations: 35.92 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.806e-05/0.7735, allocations: 69.2 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.7735, allocations: 0 / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001043/0.7736, allocations: 101.5 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.7737, allocations: 7.938 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.7737, allocations: 8.062 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.7737, allocations: 0 / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.7737, allocations: 0 / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.7737, allocations: 0 / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.524e-05/0.7737, allocations: 0 / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.7737, allocations: 15.97 kB / 1.172 GB, free: 14.47 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 7.263e-05/0.7738, allocations: 121.8 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.7738, allocations: 15.88 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.624e-05/0.7738, allocations: 8.375 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/0.7739, allocations: 12 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.7739, allocations: 0 / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.7739, allocations: 3.984 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.774, allocations: 173.6 kB / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.774, allocations: 0 / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.774, allocations: 0 / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.774, allocations: 7.938 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.7741, allocations: 0 / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.7741, allocations: 3.984 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.7741, allocations: 0 / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.7742, allocations: 129 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.7743, allocations: 89 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.7743, allocations: 0 / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.087e-05/0.7743, allocations: 0 / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.434e-05/0.7743, allocations: 4 kB / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.7743, allocations: 0 / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.871e-05/0.7744, allocations: 107.6 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7744, allocations: 4 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003242/0.7747, allocations: 67.91 kB / 1.172 GB, free: 13.64 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.0003149/0.775, allocations: 186.9 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001204/0.7752, allocations: 67.92 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7752, allocations: 0 / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.654e-05/0.7752, allocations: 35.98 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.7754, allocations: 336 / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000341/0.7757, allocations: 198.1 kB / 1.173 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.7759, allocations: 0.6963 MB / 1.173 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.357e-05/0.776, allocations: 5.625 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.552e-05/0.776, allocations: 15.44 kB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of SimCode: time 1.853e-06/0.776, allocations: 0 / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of Templates: time 0.003635/0.7797, allocations: 1.485 MB / 1.175 GB, free: 10.95 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 -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/jenkins/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