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.001793/0.001793, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 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.002047/0.002047, allocations: 218.7 kB / 23.03 MB, free: 4.922 MB / 14.72 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 1.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.996/2.996, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 65.5 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3259, allocations: 176.1 MB / 1.327 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002387/0.3283, allocations: 1.283 MB / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001508/0.3298, allocations: 0.8609 MB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.633e-05/0.3298, allocations: 4 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.341e-05/0.3299, allocations: 0 / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.33, allocations: 31.89 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007895/0.3308, allocations: 263.4 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.55e-05/0.3308, allocations: 23.97 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.613e-05/0.3309, allocations: 0 / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.606e-05/0.3309, allocations: 23.97 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.331, allocations: 55.92 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.317e-06/0.3311, allocations: 0 / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005021/0.3316, allocations: 315.5 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.594e-05/0.3316, allocations: 15.92 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.896e-05/0.3316, allocations: 15.88 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003417/0.332, allocations: 243.6 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.332, allocations: 4 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.343e-06/0.332, allocations: 0 / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.332, allocations: 0 / 1.33 GB, free: 14.33 MB / 1.029 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.00039/0.3324, allocations: 313.8 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.3324, allocations: 8.031 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.637e-05/0.3324, allocations: 192 / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.274e-05/0.3325, allocations: 38.75 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.3325, allocations: 4.922 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.3326, allocations: 126.4 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.3326, allocations: 8.25 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.113e-06/0.3326, allocations: 384 / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.3328, allocations: 61.62 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.3328, allocations: 4 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.3328, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.711e-05/0.3328, allocations: 11.98 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.596e-05/0.3328, allocations: 24 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001992/0.333, allocations: 148.7 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.476e-05/0.3331, allocations: 50.59 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.823e-05/0.3332, allocations: 36.81 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.978e-06/0.3332, allocations: 3.938 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.3332, allocations: 34.56 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.3332, allocations: 4 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0002128/0.3334, allocations: 129.7 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.3335, allocations: 51.41 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.3336, allocations: 129.8 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.3336, allocations: 25.7 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/0.3336, allocations: 96.12 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.3337, allocations: 27.7 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.3337, allocations: 21.7 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3338, allocations: 318.8 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.356e-05/0.3339, allocations: 27.98 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.748e-05/0.3339, allocations: 23.98 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.822e-05/0.334, allocations: 80.83 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.334, allocations: 0 / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001178/0.3341, allocations: 101.9 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.3341, allocations: 4 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3341, allocations: 0 / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.3341, allocations: 7.984 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.3341, allocations: 3.938 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.3341, allocations: 3.938 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.726e-05/0.3342, allocations: 3.984 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.3342, allocations: 4 kB / 1.332 GB, free: 12.23 MB / 1.029 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.184e-05/0.3343, allocations: 126.3 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.3343, allocations: 11.89 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.004e-05/0.3343, allocations: 12.36 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.3343, allocations: 12 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3343, allocations: 0 / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.3343, allocations: 0 / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.3345, allocations: 144.7 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3345, allocations: 3.938 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.194e-06/0.3345, allocations: 4 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.3345, allocations: 0 / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.3345, allocations: 0 / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.3345, allocations: 4 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3345, allocations: 0 / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.3346, allocations: 125 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.522e-05/0.3346, allocations: 15.83 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.3346, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.06e-05/0.3347, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.162e-05/0.3347, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.3347, allocations: 4 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.8e-05/0.3347, allocations: 103.3 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3347, allocations: 0 / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003094/0.335, allocations: 67.86 kB / 1.332 GB, free: 11.54 MB / 1.029 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.0006515/0.3357, allocations: 0.741 MB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000109/0.3358, allocations: 55.98 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3358, allocations: 0 / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.7e-05/0.3358, allocations: 35.92 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.336, allocations: 0 / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005458/0.3365, allocations: 269 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.093e-05/0.3366, allocations: 87.41 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.357e-05/0.3367, allocations: 8 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.335e-05/0.3367, allocations: 19.42 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.3367, allocations: 0 / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/0.3591, allocations: 2.956 MB / 1.336 GB, free: 7.484 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.45, allocations: 23.95 kB / 1.336 GB, free: 7.465 MB / 1.029 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.082656194921583]