Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001232/0.001232, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001108/0.001108, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.9792/0.9792, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.92/1.92, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kappa.4.|kappa.5.|kappa.6.|kappa.7.",fileNamePrefix="Buildings_latest_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=2500,variableFilter="time|kappa.4.|kappa.5.|kappa.6.|kappa.7.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/2.894e-05, allocations: 10.22 kB / 1.001 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001751/0.00178, allocations: 1.263 MB / 1.002 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.002935, allocations: 0.8653 MB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.421e-05/0.002959, allocations: 0 / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.314e-05/0.002992, allocations: 0 / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.00312, allocations: 31.89 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007131/0.003833, allocations: 261.5 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.114e-05/0.003905, allocations: 31.91 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.174e-05/0.003946, allocations: 3.984 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.739e-05/0.003994, allocations: 15.98 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.004128, allocations: 51.92 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.00414, allocations: 0 / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003613/0.004501, allocations: 291.4 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.66e-05/0.004548, allocations: 23.98 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/0.00457, allocations: 15.86 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003126/0.004882, allocations: 279.4 kB / 1.004 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.004885, allocations: 0 / 1.004 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.563e-06/0.004887, allocations: 0 / 1.004 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.004891, allocations: 0 / 1.004 GB, free: 9.812 MB / 0.9636 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.0003411/0.005232, allocations: 309.8 kB / 1.004 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.005273, allocations: 12.75 kB / 1.004 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.00531, allocations: 8.891 kB / 1.004 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.832e-05/0.005398, allocations: 117.7 kB / 1.004 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.00541, allocations: 4.359 kB / 1.004 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.005418, allocations: 8.312 kB / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.005531, allocations: 62.17 kB / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.005538, allocations: 4.188 kB / 1.005 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.005548, allocations: 384 / 1.005 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-05/0.005577, allocations: 11.94 kB / 1.005 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.826e-05/0.005606, allocations: 27.98 kB / 1.005 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.005768, allocations: 125.3 kB / 1.005 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.509e-05/0.005823, allocations: 46.59 kB / 1.005 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.758e-05/0.005851, allocations: 32.88 kB / 1.005 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.757e-06/0.005859, allocations: 4 kB / 1.005 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.005879, allocations: 34.56 kB / 1.005 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.00588, allocations: 0 / 1.005 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10): time 0.0001815/0.006062, allocations: 133.6 kB / 1.005 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.006097, allocations: 55.34 kB / 1.005 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.563e-05/0.006182, allocations: 129.8 kB / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.649e-06/0.006192, allocations: 29.69 kB / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.105e-05/0.006223, allocations: 84.14 kB / 1.005 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.006261, allocations: 31.73 kB / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.006291, allocations: 21.7 kB / 1.005 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.826e-05/0.006369, allocations: 318.8 kB / 1.006 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.749e-05/0.006397, allocations: 32.02 kB / 1.006 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.955e-05/0.006416, allocations: 31.98 kB / 1.006 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.847e-05/0.006475, allocations: 72.77 kB / 1.006 GB, free: 7.934 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.006477, allocations: 0 / 1.006 GB, free: 7.934 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10) (initialization): time 8.453e-05/0.006562, allocations: 97.62 kB / 1.006 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.006576, allocations: 8 kB / 1.006 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.006582, allocations: 0 / 1.006 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.006595, allocations: 0 / 1.006 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.006596, allocations: 0 / 1.006 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.006602, allocations: 3.938 kB / 1.006 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.348e-05/0.006615, allocations: 3.953 kB / 1.006 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.006626, allocations: 8.438 kB / 1.006 GB, free: 7.809 MB / 0.9636 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.572e-05/0.006702, allocations: 121.8 kB / 1.006 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-06/0.006709, allocations: 11.89 kB / 1.006 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.48e-05/0.006723, allocations: 12.42 kB / 1.006 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.006737, allocations: 11.94 kB / 1.006 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.006742, allocations: 3.938 kB / 1.006 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.006745, allocations: 0 / 1.006 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.114e-05/0.006836, allocations: 129.2 kB / 1.006 GB, free: 7.484 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.006837, allocations: 0 / 1.006 GB, free: 7.484 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-07/0.006838, allocations: 0 / 1.006 GB, free: 7.484 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.006841, allocations: 4 kB / 1.006 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.006848, allocations: 4 kB / 1.006 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.00685, allocations: 0 / 1.006 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.006851, allocations: 0 / 1.006 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.854e-05/0.006949, allocations: 128.9 kB / 1.006 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.255e-06/0.006958, allocations: 7.953 kB / 1.006 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.006969, allocations: 3.984 kB / 1.006 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.042e-06/0.006975, allocations: 0 / 1.006 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.205e-05/0.006987, allocations: 4 kB / 1.006 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.006991, allocations: 3.938 kB / 1.006 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.545e-05/0.007036, allocations: 107.3 kB / 1.006 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.007036, allocations: 4.031 kB / 1.006 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002433/0.007279, allocations: 67.86 kB / 1.006 GB, free: 7.137 MB / 0.9636 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.0002561/0.007535, allocations: 179.1 kB / 1.007 GB, free: 6.949 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001109/0.007646, allocations: 67.97 kB / 1.007 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.007648, allocations: 0 / 1.007 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.917e-05/0.007667, allocations: 31.94 kB / 1.007 GB, free: 6.852 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.007799, allocations: 11.91 kB / 1.007 GB, free: 6.84 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003128/0.008112, allocations: 221.2 kB / 1.007 GB, free: 6.59 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.046e-05/0.008173, allocations: 83.27 kB / 1.007 GB, free: 6.488 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/0.008213, allocations: 16.42 kB / 1.007 GB, free: 6.473 MB / 0.9636 GB Notification: Performance of SimCode: time 4.91e-07/0.008214, allocations: 0 / 1.007 GB, free: 6.473 MB / 0.9636 GB Notification: Performance of Templates: time 0.002686/0.0109, allocations: 1.547 MB / 1.008 GB, free: 4.926 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 7.703695652075112]