Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007803/0.0007803, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008649/0.0008649, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8316/0.8316, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.685/1.685, allocations: 377.9 MB / 0.6221 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="Buildings_12_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_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 0.981 GB, free: 2.531 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.462e-05/1.613e-05, allocations: 5.094 kB / 0.981 GB, free: 2.527 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001485/0.001501, allocations: 1.298 MB / 0.9823 GB, free: 1.223 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009908/0.002492, allocations: 0.8529 MB / 0.9831 GB, free: 372 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.157e-05/0.002513, allocations: 4 kB / 0.9831 GB, free: 368 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.831e-05/0.002542, allocations: 0 / 0.9831 GB, free: 368 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.002653, allocations: 31.94 kB / 0.9831 GB, free: 336 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006135/0.003267, allocations: 255.3 kB / 0.9834 GB, free: 80 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.044e-05/0.003327, allocations: 27.97 kB / 0.9834 GB, free: 52 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.432e-05/0.003361, allocations: 0 / 0.9834 GB, free: 52 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.272e-05/0.003404, allocations: 27.89 kB / 0.9834 GB, free: 24 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.003529, allocations: 52 kB / 0.9835 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.003539, allocations: 0 / 0.9835 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003258/0.003865, allocations: 291.5 kB / 0.9838 GB, free: 15.69 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.947e-05/0.003904, allocations: 19.92 kB / 0.9838 GB, free: 15.67 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 1.679e-05/0.003921, allocations: 11.88 kB / 0.9838 GB, free: 15.66 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.004175, allocations: 287.3 kB / 0.9841 GB, free: 15.38 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.004176, allocations: 0 / 0.9841 GB, free: 15.38 MB / 0.948 GB Notification: Performance of FrontEnd: time 7.52e-07/0.004177, allocations: 4 kB / 0.9841 GB, free: 15.37 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.004181, allocations: 0 / 0.9841 GB, free: 15.37 MB / 0.948 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.000272/0.004453, allocations: 305.8 kB / 0.9844 GB, free: 15.04 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.00449, allocations: 12.03 kB / 0.9844 GB, free: 15.03 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.444e-05/0.004514, allocations: 30.75 kB / 0.9844 GB, free: 14.99 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.089e-05/0.004535, allocations: 8.891 kB / 0.9844 GB, free: 14.98 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.004738, allocations: 117.7 kB / 0.9845 GB, free: 14.84 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.425e-06/0.004746, allocations: 384 / 0.9845 GB, free: 14.84 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.004754, allocations: 8.312 kB / 0.9845 GB, free: 14.84 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.211e-05/0.004846, allocations: 58.23 kB / 0.9846 GB, free: 14.77 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.004852, allocations: 4.188 kB / 0.9846 GB, free: 14.77 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.004859, allocations: 4.125 kB / 0.9846 GB, free: 14.77 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.479e-05/0.004884, allocations: 12 kB / 0.9846 GB, free: 14.75 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.493e-05/0.004909, allocations: 31.92 kB / 0.9846 GB, free: 14.72 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/0.00505, allocations: 152.7 kB / 0.9848 GB, free: 14.53 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.459e-05/0.005094, allocations: 50.53 kB / 0.9848 GB, free: 14.47 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.166e-05/0.005116, allocations: 28.89 kB / 0.9849 GB, free: 14.44 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.991e-06/0.005122, allocations: 0 / 0.9849 GB, free: 14.44 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.005139, allocations: 42.55 kB / 0.9849 GB, free: 14.39 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 7.22e-07/0.00514, allocations: 0 / 0.9849 GB, free: 14.39 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0001501/0.00529, allocations: 133.6 kB / 0.985 GB, free: 14.25 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.005315, allocations: 51.41 kB / 0.9851 GB, free: 14.19 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.899e-05/0.005384, allocations: 133.8 kB / 0.9852 GB, free: 14.05 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.005392, allocations: 29.7 kB / 0.9852 GB, free: 14.02 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.584e-05/0.005418, allocations: 84.14 kB / 0.9853 GB, free: 13.93 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.00545, allocations: 35.69 kB / 0.9854 GB, free: 13.89 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-05/0.005471, allocations: 13.72 kB / 0.9854 GB, free: 13.88 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.505e-05/0.005547, allocations: 322.8 kB / 0.9857 GB, free: 13.55 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.337e-05/0.00557, allocations: 27.98 kB / 0.9857 GB, free: 13.52 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.594e-05/0.005586, allocations: 28 kB / 0.9857 GB, free: 13.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.009e-05/0.005636, allocations: 76.75 kB / 0.9858 GB, free: 13.42 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.005638, allocations: 4.062 kB / 0.9858 GB, free: 13.41 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 6.888e-05/0.005706, allocations: 93.95 kB / 0.9859 GB, free: 13.32 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.00572, allocations: 11.98 kB / 0.9859 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.005725, allocations: 0 / 0.9859 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.005736, allocations: 3.938 kB / 0.9859 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.005736, allocations: 0 / 0.9859 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.00574, allocations: 0 / 0.9859 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.148e-05/0.005751, allocations: 3.953 kB / 0.9859 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.005761, allocations: 4 kB / 0.9859 GB, free: 13.29 MB / 0.948 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 5.561e-05/0.005816, allocations: 125.8 kB / 0.986 GB, free: 13.16 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-06/0.005823, allocations: 11.98 kB / 0.9861 GB, free: 13.15 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.167e-05/0.005834, allocations: 8.438 kB / 0.9861 GB, free: 13.14 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.005846, allocations: 15.92 kB / 0.9861 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.005849, allocations: 0 / 0.9861 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-06/0.005851, allocations: 0 / 0.9861 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.574e-05/0.005937, allocations: 152.7 kB / 0.9862 GB, free: 12.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.005938, allocations: 0 / 0.9862 GB, free: 12.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-07/0.005938, allocations: 7.938 kB / 0.9862 GB, free: 12.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.41e-07/0.005939, allocations: 0 / 0.9862 GB, free: 12.93 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-06/0.005943, allocations: 0 / 0.9862 GB, free: 12.93 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.005945, allocations: 3.938 kB / 0.9862 GB, free: 12.92 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.005946, allocations: 4 kB / 0.9862 GB, free: 12.92 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.482e-05/0.006021, allocations: 125 kB / 0.9864 GB, free: 12.78 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-06/0.00603, allocations: 11.95 kB / 0.9864 GB, free: 12.77 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.845e-06/0.006038, allocations: 4 kB / 0.9864 GB, free: 12.76 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-06/0.006045, allocations: 3.938 kB / 0.9864 GB, free: 12.76 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.171e-05/0.006057, allocations: 7.969 kB / 0.9864 GB, free: 12.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.006061, allocations: 4 kB / 0.9864 GB, free: 12.75 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.615e-05/0.006097, allocations: 99.27 kB / 0.9865 GB, free: 12.65 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006097, allocations: 0 / 0.9865 GB, free: 12.65 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002029/0.0063, allocations: 67.86 kB / 0.9865 GB, free: 12.58 MB / 0.948 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.0003779/0.006678, allocations: 0.745 MB / 0.9873 GB, free: 11.81 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.726e-05/0.006755, allocations: 59.97 kB / 0.9873 GB, free: 11.75 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.006756, allocations: 0 / 0.9873 GB, free: 11.75 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.285e-05/0.006779, allocations: 27.98 kB / 0.9874 GB, free: 11.72 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000111/0.00689, allocations: 13.11 kB / 0.9874 GB, free: 11.71 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003371/0.007227, allocations: 259 kB / 0.9876 GB, free: 11.42 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.907e-05/0.007276, allocations: 87.25 kB / 0.9877 GB, free: 11.31 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.681e-05/0.007303, allocations: 6.406 kB / 0.9877 GB, free: 11.31 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.007332, allocations: 16.5 kB / 0.9877 GB, free: 11.29 MB / 0.948 GB Notification: Performance of SimCode: time 4.1e-07/0.007333, allocations: 3.938 kB / 0.9877 GB, free: 11.29 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01731/0.02464, allocations: 3.408 MB / 0.9911 GB, free: 8.105 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.611/6.636, allocations: 11.53 kB / 0.9911 GB, free: 8.098 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.512216818518937]