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.0009598/0.0009598, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001115/0.001115, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 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: 223.3 MB / 240 MB, free: 5.422 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.522/2.522, allocations: 390.9 MB / 0.666 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004047, allocations: 12 kB / 0.8154 GB, free: 13.56 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7719/0.7723, allocations: 142.4 MB / 0.9545 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001379/0.7738, allocations: 0.9745 MB / 0.9554 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.7752, allocations: 0.8274 MB / 0.9562 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.594e-05/0.7752, allocations: 1.188 kB / 0.9562 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.722e-05/0.7753, allocations: 3.938 kB / 0.9562 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001539/0.7754, allocations: 32.34 kB / 0.9563 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008782/0.7763, allocations: 183.4 kB / 0.9564 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.848e-05/0.7764, allocations: 36.84 kB / 0.9565 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.7764, allocations: 0 / 0.9565 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.506e-05/0.7765, allocations: 14.95 kB / 0.9565 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.7767, allocations: 45 kB / 0.9565 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.7767, allocations: 4 kB / 0.9565 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000486/0.7772, allocations: 233.4 kB / 0.9568 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.145e-05/0.7772, allocations: 15.14 kB / 0.9568 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.214e-05/0.7773, allocations: 36.17 kB / 0.9568 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.7776, allocations: 155.7 kB / 0.957 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.7776, allocations: 3.938 kB / 0.957 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7776, allocations: 0 / 0.957 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.7776, allocations: 1.5 kB / 0.957 GB, free: 5.922 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.0004256/0.778, allocations: 380.2 kB / 0.9573 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.7781, allocations: 14.06 kB / 0.9573 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.7781, allocations: 9.859 kB / 0.9573 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.7782, allocations: 178.9 kB / 0.9575 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.7783, allocations: 0 / 0.9575 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.7783, allocations: 1.219 kB / 0.9575 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.7784, allocations: 64.14 kB / 0.9576 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.7784, allocations: 0 / 0.9576 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.7784, allocations: 0 / 0.9576 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.33e-05/0.7785, allocations: 14.67 kB / 0.9576 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.731e-05/0.7786, allocations: 28.58 kB / 0.9576 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.7787, allocations: 176.5 kB / 0.9578 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.502e-05/0.7788, allocations: 49.62 kB / 0.9578 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.906e-05/0.7789, allocations: 39.41 kB / 0.9579 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.7789, allocations: 192 / 0.9579 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.7789, allocations: 36 kB / 0.9579 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 7.42e-07/0.7789, allocations: 0 / 0.9579 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0002419/0.7792, allocations: 126.5 kB / 0.958 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.7792, allocations: 59.38 kB / 0.9581 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.7793, allocations: 134 kB / 0.9582 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.7793, allocations: 25.7 kB / 0.9582 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.383e-05/0.7794, allocations: 95.55 kB / 0.9583 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.7794, allocations: 31.06 kB / 0.9584 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-06/0.7794, allocations: 0 / 0.9584 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.666e-05/0.7795, allocations: 322.5 kB / 0.9587 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.989e-05/0.7795, allocations: 23.92 kB / 0.9587 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.57e-05/0.7795, allocations: 33.48 kB / 0.9587 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.629e-05/0.7796, allocations: 32.08 kB / 0.9588 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7796, allocations: 0 / 0.9588 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001222/0.7797, allocations: 105.8 kB / 0.9589 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.7798, allocations: 5.875 kB / 0.9589 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.7798, allocations: 0 / 0.9589 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.7798, allocations: 0 / 0.9589 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.003e-06/0.7798, allocations: 1.375 kB / 0.9589 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.7798, allocations: 3.938 kB / 0.9589 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.007e-05/0.7799, allocations: 9.219 kB / 0.9589 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.7799, allocations: 9.391 kB / 0.9589 GB, free: 4.121 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.181e-05/0.78, allocations: 119.5 kB / 0.959 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.78, allocations: 2.75 kB / 0.959 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.701e-05/0.78, allocations: 7.125 kB / 0.959 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.96e-05/0.78, allocations: 13.61 kB / 0.959 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.78, allocations: 1.375 kB / 0.959 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.78, allocations: 0 / 0.959 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.7802, allocations: 178 kB / 0.9592 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.7802, allocations: 0 / 0.9592 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.172e-06/0.7802, allocations: 4 kB / 0.9592 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.7802, allocations: 1.375 kB / 0.9592 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.7802, allocations: 5.375 kB / 0.9592 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.7802, allocations: 0 / 0.9592 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.7802, allocations: 0 / 0.9592 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.7804, allocations: 130.5 kB / 0.9593 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.258e-05/0.7804, allocations: 87.75 kB / 0.9594 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.7804, allocations: 0 / 0.9594 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.293e-05/0.7805, allocations: 4.031 kB / 0.9594 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/0.7805, allocations: 1.375 kB / 0.9594 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.7805, allocations: 2.75 kB / 0.9594 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.81e-05/0.7805, allocations: 103.7 kB / 0.9595 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7805, allocations: 0 / 0.9595 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003878/0.7809, allocations: 77.67 kB / 0.9596 GB, free: 3.477 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003435/0.7813, allocations: 171.5 kB / 0.9598 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001133/0.7814, allocations: 66.72 kB / 0.9598 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7814, allocations: 5.438 kB / 0.9598 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.564e-05/0.7815, allocations: 31.38 kB / 0.9598 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001702/0.7816, allocations: 6.969 kB / 0.9599 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003385/0.782, allocations: 216.4 kB / 0.9601 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.7821, allocations: 0.7004 MB / 0.9607 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.661e-05/0.7822, allocations: 4.562 kB / 0.9608 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.599e-05/0.7822, allocations: 12.94 kB / 0.9608 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7822, allocations: 0 / 0.9608 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of Templates: time 0.004671/0.7869, allocations: 1.458 MB / 0.9622 GB, free: 1.715 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/jenkins/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