Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.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.000748/0.000748, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001037/0.001785, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.00107/0.00107, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001342/0.002412, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9052/0.9052, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08079/0.986, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.171/2.171, allocations: 446.7 MB / 0.6745 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2242/2.396, allocations: 145.9 MB / 0.817 GB, free: 4.188 MB / 0.7917 GB " [Timeout remaining time 178] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TStep",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TStep",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 0 / 0.8183 GB, free: 2.855 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.421e-05/1.695e-05, allocations: 10.25 kB / 0.8183 GB, free: 2.844 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001376/0.001393, allocations: 0.6281 MB / 0.8189 GB, free: 2.215 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00687/0.008263, allocations: 5.092 MB / 0.8239 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.049e-05/0.008284, allocations: 0 / 0.8239 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.309e-05/0.008307, allocations: 0 / 0.8239 GB, free: 13.09 MB / 0.8073 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeBindings: time 0.002916/0.01122, allocations: 1.425 MB / 0.8253 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 5.411e-05/0.01128, allocations: 31.89 kB / 0.8253 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.728e-05/0.01132, allocations: 7.938 kB / 0.8254 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.372e-05/0.01136, allocations: 0 / 0.8254 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.099e-05/0.0114, allocations: 8 kB / 0.8254 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.339e-05/0.01144, allocations: 11.98 kB / 0.8254 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 8.776e-06/0.01145, allocations: 0 / 0.8254 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003009/0.01446, allocations: 2.596 MB / 0.8279 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.489e-05/0.01455, allocations: 149.2 kB / 0.828 GB, free: 8.863 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.262e-05/0.01457, allocations: 4 kB / 0.8281 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001507/0.01607, allocations: 1.641 MB / 0.8297 GB, free: 7.215 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.221e-05/0.01609, allocations: 0 / 0.8297 GB, free: 7.215 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.12e-07/0.01609, allocations: 0 / 0.8297 GB, free: 7.215 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.503e-05/0.0161, allocations: 0 / 0.8297 GB, free: 7.215 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0006913/0.01679, allocations: 0.6692 MB / 0.8303 GB, free: 6.52 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.01682, allocations: 8.625 kB / 0.8303 GB, free: 6.512 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.484e-05/0.01685, allocations: 8.875 kB / 0.8303 GB, free: 6.504 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.675e-05/0.01692, allocations: 105.8 kB / 0.8304 GB, free: 6.375 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.01693, allocations: 8.375 kB / 0.8304 GB, free: 6.367 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.37e-06/0.01694, allocations: 384 / 0.8304 GB, free: 6.367 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.34e-05/0.01703, allocations: 86.23 kB / 0.8305 GB, free: 6.277 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.01704, allocations: 3.938 kB / 0.8305 GB, free: 6.273 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.42e-06/0.01705, allocations: 3.984 kB / 0.8305 GB, free: 6.27 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.01705, allocations: 4 kB / 0.8305 GB, free: 6.266 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.095e-05/0.01712, allocations: 119.9 kB / 0.8306 GB, free: 6.148 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001248/0.01725, allocations: 177 kB / 0.8308 GB, free: 5.961 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.286e-05/0.01732, allocations: 82.52 kB / 0.8309 GB, free: 5.871 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.934e-05/0.01736, allocations: 68.89 kB / 0.831 GB, free: 5.801 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.398e-06/0.01736, allocations: 0 / 0.831 GB, free: 5.801 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.01738, allocations: 34.56 kB / 0.831 GB, free: 5.758 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 4.31e-07/0.01738, allocations: 0 / 0.831 GB, free: 5.758 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 0.0001499/0.01753, allocations: 213.6 kB / 0.8312 GB, free: 5.543 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.01756, allocations: 59.28 kB / 0.8312 GB, free: 5.473 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.65e-05/0.01764, allocations: 102.7 kB / 0.8313 GB, free: 5.359 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.793e-06/0.01764, allocations: 25.7 kB / 0.8314 GB, free: 5.328 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.528e-05/0.01766, allocations: 80.14 kB / 0.8314 GB, free: 5.246 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.01768, allocations: 256 / 0.8314 GB, free: 5.246 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.0177, allocations: 25.69 kB / 0.8315 GB, free: 5.215 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.865e-05/0.01777, allocations: 310.8 kB / 0.8318 GB, free: 4.902 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.385e-05/0.01781, allocations: 59.97 kB / 0.8318 GB, free: 4.844 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.589e-05/0.01786, allocations: 63.97 kB / 0.8319 GB, free: 4.781 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.615e-05/0.01795, allocations: 132.8 kB / 0.832 GB, free: 4.648 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.01795, allocations: 0 / 0.832 GB, free: 4.648 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.776e-05/0.01804, allocations: 153.6 kB / 0.8322 GB, free: 4.492 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.267e-05/0.01811, allocations: 8 kB / 0.8322 GB, free: 4.484 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.01811, allocations: 0 / 0.8322 GB, free: 4.484 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.573e-06/0.01812, allocations: 4.094 kB / 0.8322 GB, free: 4.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.693e-05/0.01817, allocations: 0 / 0.8322 GB, free: 4.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-06/0.01817, allocations: 3.938 kB / 0.8322 GB, free: 4.477 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.283e-06/0.01818, allocations: 0 / 0.8322 GB, free: 4.477 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.01818, allocations: 4 kB / 0.8322 GB, free: 4.473 MB / 0.8073 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): 1 * Array equations: 0 * 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 3.986e-05/0.01822, allocations: 108.7 kB / 0.8323 GB, free: 4.355 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-06/0.01822, allocations: 4 kB / 0.8323 GB, free: 4.352 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.01834, allocations: 160.6 kB / 0.8324 GB, free: 4.188 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.01834, allocations: 0 / 0.8324 GB, free: 4.188 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.01834, allocations: 3.938 kB / 0.8324 GB, free: 4.184 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-06/0.01835, allocations: 4.031 kB / 0.8324 GB, free: 4.18 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.468e-05/0.01844, allocations: 189.8 kB / 0.8326 GB, free: 3.977 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.01844, allocations: 0 / 0.8326 GB, free: 3.977 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-07/0.01844, allocations: 0 / 0.8326 GB, free: 3.977 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-06/0.01845, allocations: 0 / 0.8326 GB, free: 3.977 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.71e-07/0.01845, allocations: 3.938 kB / 0.8326 GB, free: 3.973 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-06/0.01845, allocations: 4 kB / 0.8326 GB, free: 3.969 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.01845, allocations: 0 / 0.8326 GB, free: 3.969 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01845, allocations: 0 / 0.8326 GB, free: 3.969 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.131e-05/0.01854, allocations: 181 kB / 0.8328 GB, free: 3.773 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.142e-06/0.01855, allocations: 32 / 0.8328 GB, free: 3.773 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.759e-06/0.01855, allocations: 4 kB / 0.8328 GB, free: 3.77 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.813e-06/0.01856, allocations: 0 / 0.8328 GB, free: 3.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-06/0.01856, allocations: 3.938 kB / 0.8328 GB, free: 3.766 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.915e-06/0.01857, allocations: 8.859 kB / 0.8328 GB, free: 3.754 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01857, allocations: 0 / 0.8328 GB, free: 3.754 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0006055/0.01918, allocations: 0.549 MB / 0.8334 GB, free: 3.203 MB / 0.8073 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: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001821/0.021, allocations: 1.166 MB / 0.8345 GB, free: 2.207 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001063/0.0211, allocations: 132.7 kB / 0.8346 GB, free: 2.074 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.02111, allocations: 0 / 0.8346 GB, free: 2.074 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.891e-05/0.02115, allocations: 98.47 kB / 0.8347 GB, free: 1.969 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.927e-05/0.0212, allocations: 4 kB / 0.8347 GB, free: 1.965 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005635/0.02177, allocations: 0.763 MB / 0.8355 GB, free: 1.176 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.958e-05/0.02183, allocations: 123.1 kB / 0.8356 GB, free: 1.035 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.655e-05/0.02184, allocations: 4 kB / 0.8356 GB, free: 1.031 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.734e-05/0.02188, allocations: 51.38 kB / 0.8356 GB, free: 0.9805 MB / 0.8073 GB Notification: Performance of SimCode: time 8.92e-07/0.02188, allocations: 0 / 0.8356 GB, free: 0.9805 MB / 0.8073 GB Notification: Performance of Templates: time 0.01459/0.03647, allocations: 13.76 MB / 0.8491 GB, free: 3.234 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.414418666623533]