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.00179/0.00179, allocations: 104 kB / 16.41 MB, free: 6.016 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.001908/0.001908, allocations: 192.3 kB / 17.34 MB, free: 5.609 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.406/1.406, 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 9.1.3-maint.9.1.x/package.mo): time 2.286/2.286, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 67.89 kB / 0.9516 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8362/0.8375, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002303/0.8399, allocations: 1.252 MB / 1.09 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001424/0.8413, allocations: 0.8836 MB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.526e-05/0.8414, allocations: 0 / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.079e-05/0.8414, allocations: 0.6562 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.8416, allocations: 27.61 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008603/0.8424, allocations: 251.2 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.701e-05/0.8425, allocations: 22.81 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.531e-05/0.8426, allocations: 5.703 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.67e-05/0.8426, allocations: 25.89 kB / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.8428, allocations: 49.77 kB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.8428, allocations: 0.75 kB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004975/0.8433, allocations: 274.3 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.507e-05/0.8434, allocations: 18.44 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.107e-05/0.8434, allocations: 17.25 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004394/0.8439, allocations: 248.5 kB / 1.092 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.8439, allocations: 0 / 1.092 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8439, allocations: 0 / 1.092 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.8439, allocations: 0 / 1.092 GB, free: 3.785 MB / 0.8575 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.0003812/0.8443, allocations: 387.4 kB / 1.092 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.8443, allocations: 9.812 kB / 1.092 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.8444, allocations: 7.25 kB / 1.092 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.8445, allocations: 172.9 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.8445, allocations: 1.75 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.8445, allocations: 5.094 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.8447, allocations: 60.75 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.8447, allocations: 4.688 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.8447, allocations: 3.938 kB / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.8e-05/0.8448, allocations: 11.92 kB / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.242e-05/0.8448, allocations: 31.98 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001901/0.845, allocations: 168.6 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.517e-05/0.8451, allocations: 52.08 kB / 1.093 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.42e-05/0.8451, allocations: 42.83 kB / 1.093 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.8452, allocations: 3.938 kB / 1.093 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.8452, allocations: 44.33 kB / 1.093 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.8452, allocations: 0 / 1.093 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0002343/0.8454, allocations: 125.2 kB / 1.093 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.8455, allocations: 53.34 kB / 1.093 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.8456, allocations: 136.7 kB / 1.093 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.8456, allocations: 25.73 kB / 1.093 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.556e-05/0.8456, allocations: 92.59 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.066e-05/0.8457, allocations: 33.66 kB / 1.093 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.8457, allocations: 20.23 kB / 1.093 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.499e-05/0.8458, allocations: 321.2 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.169e-05/0.8458, allocations: 26.69 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.75e-05/0.8459, allocations: 28.41 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.553e-05/0.846, allocations: 69.94 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.846, allocations: 0.875 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001346/0.8461, allocations: 101.6 kB / 1.094 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.8461, allocations: 9.953 kB / 1.094 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.8461, allocations: 0 / 1.094 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.8462, allocations: 0.7812 kB / 1.094 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.493e-06/0.8462, allocations: 0.7031 kB / 1.094 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/0.8462, allocations: 4.594 kB / 1.094 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.753e-05/0.8462, allocations: 8.75 kB / 1.094 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.8462, allocations: 2.891 kB / 1.094 GB, free: 2.039 MB / 0.8575 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.172e-05/0.8463, allocations: 120.2 kB / 1.094 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.164e-05/0.8463, allocations: 13.75 kB / 1.094 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.588e-05/0.8463, allocations: 7.844 kB / 1.094 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.339e-05/0.8464, allocations: 13 kB / 1.094 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.8464, allocations: 3.938 kB / 1.094 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.8464, allocations: 1.781 kB / 1.094 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.8465, allocations: 168.3 kB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.8465, allocations: 0 / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.623e-06/0.8465, allocations: 1.453 kB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.8465, allocations: 3.938 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.8465, allocations: 5.688 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.8465, allocations: 4.703 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.8466, allocations: 0 / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.8467, allocations: 124.6 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.688e-05/0.8467, allocations: 87.86 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.8467, allocations: 1.344 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.18e-05/0.8468, allocations: 0.8125 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.951e-05/0.8468, allocations: 1.5 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.8468, allocations: 6 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.119e-05/0.8469, allocations: 105.5 kB / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8469, allocations: 0 / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000405/0.8473, allocations: 76.09 kB / 1.094 GB, free: 1.422 MB / 0.8575 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.0003281/0.8476, allocations: 168.8 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001493/0.8478, allocations: 64.88 kB / 1.095 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8478, allocations: 0 / 1.095 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.824e-05/0.8478, allocations: 39.31 kB / 1.095 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.848, allocations: 6.531 kB / 1.095 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004199/0.8484, allocations: 224.4 kB / 1.095 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.8486, allocations: 0.6984 MB / 1.095 GB, free: 440 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.8486, allocations: 10.31 kB / 1.095 GB, free: 432 kB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.8486, allocations: 0 / 1.095 GB, free: 432 kB / 0.8575 GB Notification: Performance of Templates: time 0.00421/0.8528, allocations: 1.523 MB / 1.097 GB, free: 296 kB / 0.8575 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