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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="Buildings_10_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_10_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.007672/0.007672, allocations: 98.3 kB / 15.73 MB, free: 5.977 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.001883/0.001883, allocations: 196.7 kB / 16.68 MB, free: 5.906 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.377/2.377, allocations: 437.1 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 63.89 kB / 1.018 GB, free: 9.867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8123/0.8137, allocations: 151.6 MB / 1.166 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002234/0.816, allocations: 1.253 MB / 1.167 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.8174, allocations: 0.8915 MB / 1.168 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.543e-05/0.8175, allocations: 0 / 1.168 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.272e-05/0.8175, allocations: 3.984 kB / 1.168 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.8176, allocations: 27.97 kB / 1.168 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008128/0.8184, allocations: 248.8 kB / 1.169 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.946e-05/0.8185, allocations: 23.97 kB / 1.169 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.68e-05/0.8186, allocations: 0 / 1.169 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.383e-05/0.8186, allocations: 19.97 kB / 1.169 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.8187, allocations: 51.94 kB / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.338e-06/0.8188, allocations: 0 / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004498/0.8192, allocations: 283.6 kB / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.027e-05/0.8193, allocations: 19.92 kB / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.994e-05/0.8193, allocations: 19.86 kB / 1.169 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003783/0.8197, allocations: 235 kB / 1.169 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.8197, allocations: 4 kB / 1.169 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8197, allocations: 0 / 1.169 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.8197, allocations: 0 / 1.169 GB, free: 0.7305 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.0004167/0.8202, allocations: 402.8 kB / 1.17 GB, free: 296 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.8202, allocations: 8.922 kB / 1.17 GB, free: 288 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.309e-05/0.8202, allocations: 34.73 kB / 1.17 GB, free: 244 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.63e-05/0.8203, allocations: 8.891 kB / 1.17 GB, free: 236 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.8204, allocations: 172.3 kB / 1.17 GB, free: 24 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.8204, allocations: 384 / 1.17 GB, free: 24 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.148e-06/0.8204, allocations: 384 / 1.17 GB, free: 24 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.8206, allocations: 65.8 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.8206, allocations: 7.938 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.954e-06/0.8206, allocations: 0 / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.578e-05/0.8207, allocations: 11.94 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.321e-05/0.8207, allocations: 31.98 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002051/0.8209, allocations: 161.7 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 6.754e-05/0.821, allocations: 54.56 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.039e-05/0.821, allocations: 41.06 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/0.8211, allocations: 3.938 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.8211, allocations: 38.5 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/0.8211, allocations: 0 / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0002145/0.8213, allocations: 129.5 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.8214, allocations: 55.41 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.8215, allocations: 133.8 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.8215, allocations: 25.7 kB / 1.171 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.019e-05/0.8215, allocations: 84.14 kB / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.8216, allocations: 39.67 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.8216, allocations: 25.75 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.917e-05/0.8217, allocations: 314.8 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.222e-05/0.8218, allocations: 28 kB / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.811e-05/0.8218, allocations: 27.98 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.935e-05/0.8219, allocations: 73.14 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.8219, allocations: 0 / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001101/0.822, allocations: 109.4 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.822, allocations: 8 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.822, allocations: 0 / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.8221, allocations: 4.062 kB / 1.171 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.8221, allocations: 0 / 1.171 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.8221, allocations: 0 / 1.171 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.24e-05/0.8221, allocations: 7.922 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.8221, allocations: 4 kB / 1.171 GB, free: 14.43 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 8.75e-05/0.8222, allocations: 120 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.8222, allocations: 11.89 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.619e-05/0.8222, allocations: 8.375 kB / 1.171 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/0.8223, allocations: 11.98 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.8223, allocations: 4 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.8223, allocations: 3.938 kB / 1.171 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.8224, allocations: 169.6 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.8224, allocations: 0 / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.344e-06/0.8225, allocations: 7.938 kB / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.8225, allocations: 0 / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.8225, allocations: 7.984 kB / 1.172 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.8225, allocations: 0 / 1.172 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8225, allocations: 0 / 1.172 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.8226, allocations: 133 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.895e-05/0.8227, allocations: 85 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.8227, allocations: 0 / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.254e-05/0.8227, allocations: 4 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.8227, allocations: 0 / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.8227, allocations: 3.984 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.783e-05/0.8228, allocations: 107.2 kB / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8228, allocations: 0 / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00033/0.8231, allocations: 71.81 kB / 1.172 GB, free: 13.6 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.0006409/0.8238, allocations: 0.7527 MB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001072/0.8239, allocations: 67.97 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.8239, allocations: 0 / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.464e-05/0.824, allocations: 32 kB / 1.173 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.8241, allocations: 8.141 kB / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000489/0.8246, allocations: 252.4 kB / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.8248, allocations: 0.6963 MB / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.88e-05/0.8249, allocations: 9.5 kB / 1.174 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.089e-05/0.8249, allocations: 19.42 kB / 1.174 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of SimCode: time 2.91e-07/0.8249, allocations: 0 / 1.174 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2334/1.058, allocations: 2.827 MB / 1.176 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.578/10.64, allocations: 5.688 kB / 1.176 GB, free: 9.055 MB / 0.9044 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > 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.csv","/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