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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008062/0.008062, allocations: 100.9 kB / 15.73 MB, free: 6.059 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.001876/0.001876, allocations: 191.1 kB / 16.67 MB, free: 5.969 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.139/2.139, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 63.91 kB / 0.9504 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7129/0.7142, allocations: 140.4 MB / 1.088 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002039/0.7163, allocations: 1.253 MB / 1.089 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00127/0.7176, allocations: 0.8804 MB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.39e-05/0.7176, allocations: 0 / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.902e-05/0.7177, allocations: 0.6094 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.7178, allocations: 30.56 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007501/0.7186, allocations: 248.5 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.344e-05/0.7186, allocations: 30.67 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.657e-05/0.7187, allocations: 6.484 kB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.693e-05/0.7187, allocations: 19.64 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.7189, allocations: 46.94 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.636e-06/0.7189, allocations: 0 / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004404/0.7193, allocations: 279.1 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.52e-05/0.7194, allocations: 22 kB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.265e-05/0.7194, allocations: 12.97 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003506/0.7198, allocations: 248.2 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.7198, allocations: 1.094 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.253e-06/0.7198, allocations: 0 / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.7198, allocations: 0 / 1.09 GB, free: 3.535 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.000294/0.7201, allocations: 388.3 kB / 1.091 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.7201, allocations: 10.12 kB / 1.091 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.39e-05/0.7202, allocations: 34.28 kB / 1.091 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.527e-05/0.7202, allocations: 6.234 kB / 1.091 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.011e-05/0.7203, allocations: 178.1 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.7203, allocations: 4.375 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.7203, allocations: 1.219 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.736e-05/0.7204, allocations: 64.8 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.7204, allocations: 0.7812 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.241e-06/0.7204, allocations: 0 / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.203e-05/0.7205, allocations: 12.2 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.162e-05/0.7205, allocations: 28.33 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.7207, allocations: 179.7 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.366e-05/0.7207, allocations: 52.7 kB / 1.091 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.522e-05/0.7208, allocations: 39.28 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.001e-06/0.7208, allocations: 0 / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.7208, allocations: 40.48 kB / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 8.32e-07/0.7208, allocations: 0 / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0002025/0.721, allocations: 125.1 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.891e-05/0.721, allocations: 59.94 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.944e-05/0.7211, allocations: 133 kB / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.801e-06/0.7211, allocations: 30.55 kB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.387e-05/0.7212, allocations: 87.73 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.7212, allocations: 38.41 kB / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.7212, allocations: 20.44 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.261e-05/0.7213, allocations: 316.5 kB / 1.092 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.863e-05/0.7213, allocations: 28.25 kB / 1.092 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.128e-05/0.7214, allocations: 27.3 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.322e-05/0.7215, allocations: 69.95 kB / 1.092 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7215, allocations: 5.156 kB / 1.092 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000107/0.7216, allocations: 101.5 kB / 1.092 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.7216, allocations: 5.141 kB / 1.092 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.7216, allocations: 8.812 kB / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.7216, allocations: 0 / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.883e-06/0.7216, allocations: 1.297 kB / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.7216, allocations: 0.6562 kB / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.724e-05/0.7217, allocations: 12.48 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.7217, allocations: 3.125 kB / 1.093 GB, free: 1.738 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 6.106e-05/0.7217, allocations: 123.1 kB / 1.093 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.183e-05/0.7218, allocations: 11 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.318e-05/0.7218, allocations: 7.953 kB / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.232e-05/0.7218, allocations: 12.39 kB / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.7218, allocations: 0.5312 kB / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.7218, allocations: 1.281 kB / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.7219, allocations: 172.5 kB / 1.093 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7219, allocations: 0 / 1.093 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.055e-06/0.7219, allocations: 9.359 kB / 1.093 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.7219, allocations: 0.75 kB / 1.093 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.722, allocations: 4.75 kB / 1.093 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.722, allocations: 0.5625 kB / 1.093 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.722, allocations: 0.75 kB / 1.093 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.7221, allocations: 124.2 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.224e-05/0.7221, allocations: 88.03 kB / 1.093 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.7221, allocations: 0.75 kB / 1.093 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.175e-05/0.7222, allocations: 1.641 kB / 1.093 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.466e-05/0.7222, allocations: 4.719 kB / 1.093 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.7222, allocations: 10.86 kB / 1.093 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.976e-05/0.7222, allocations: 100.7 kB / 1.093 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.7222, allocations: 0.5938 kB / 1.093 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003508/0.7226, allocations: 76.66 kB / 1.093 GB, free: 1.117 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.0005091/0.7231, allocations: 0.7378 MB / 1.094 GB, free: 500 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001348/0.7233, allocations: 69.72 kB / 1.094 GB, free: 484 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7233, allocations: 0 / 1.094 GB, free: 484 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.397e-05/0.7233, allocations: 35.17 kB / 1.094 GB, free: 476 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.7235, allocations: 8.578 kB / 1.094 GB, free: 472 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004933/0.724, allocations: 254.7 kB / 1.094 GB, free: 280 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.7242, allocations: 0.7021 MB / 1.095 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.544e-05/0.7243, allocations: 12.58 kB / 1.095 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.7243, allocations: 19.05 kB / 1.095 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/0.7243, allocations: 0 / 1.095 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01895/0.7433, allocations: 2.834 MB / 1.098 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.363/8.106, allocations: 6.438 kB / 1.098 GB, free: 15.12 MB / 0.8731 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > 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.csv","/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