Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001135/0.001135, allocations: 81.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001669/0.002804, allocations: 449.8 kB / 10.44 MB, free: 248 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.001504/0.001504, allocations: 161.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001895/0.003399, allocations: 479.5 kB / 11.82 MB, free: 2.34 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.9703/0.9703, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0803/1.051, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.74/1.74, allocations: 378.4 MB / 0.6079 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4345/2.174, allocations: 123.3 MB / 0.7283 GB, free: 5.707 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TStep",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.7297 GB, free: 4.363 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.387e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.359 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002035/0.002058, allocations: 0.6327 MB / 0.7303 GB, free: 3.758 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008533/0.01059, allocations: 5.096 MB / 0.7353 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.956e-05/0.01062, allocations: 0 / 0.7353 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.472e-05/0.01066, allocations: 0 / 0.7353 GB, free: 14.68 MB / 0.7136 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.00519/0.01585, allocations: 1.438 MB / 0.7367 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 9.846e-05/0.01594, allocations: 33.08 kB / 0.7367 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.124e-05/0.01601, allocations: 8 kB / 0.7367 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.482e-05/0.01607, allocations: 3.984 kB / 0.7367 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.274e-05/0.01613, allocations: 8.688 kB / 0.7367 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.669e-05/0.01619, allocations: 4 kB / 0.7367 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.0162, allocations: 9.156 kB / 0.7367 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005368/0.02157, allocations: 2.601 MB / 0.7393 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001839/0.02175, allocations: 154 kB / 0.7394 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.147e-05/0.02178, allocations: 0 / 0.7394 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003386/0.02516, allocations: 1.646 MB / 0.741 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.236e-05/0.02517, allocations: 0 / 0.741 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.793e-06/0.02518, allocations: 0 / 0.741 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.02519, allocations: 1.344 kB / 0.741 GB, free: 8.785 MB / 0.7136 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.0008457/0.02603, allocations: 0.6653 MB / 0.7417 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.02607, allocations: 12.03 kB / 0.7417 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.0261, allocations: 2.188 kB / 0.7417 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.186e-05/0.02618, allocations: 117.7 kB / 0.7418 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.02619, allocations: 384 / 0.7418 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-06/0.0262, allocations: 1.625 kB / 0.7418 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.0263, allocations: 86.23 kB / 0.7419 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.02631, allocations: 7.938 kB / 0.7419 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-06/0.02631, allocations: 1 kB / 0.7419 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-06/0.02632, allocations: 0 / 0.7419 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.263e-05/0.02638, allocations: 119.9 kB / 0.742 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001231/0.0265, allocations: 180.2 kB / 0.7422 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.824e-05/0.02657, allocations: 82.52 kB / 0.7423 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.206e-05/0.02661, allocations: 64.89 kB / 0.7423 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.102e-06/0.02662, allocations: 3.984 kB / 0.7423 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.02664, allocations: 34.56 kB / 0.7424 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.02664, allocations: 0 / 0.7424 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001744/0.02681, allocations: 213.6 kB / 0.7426 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.02685, allocations: 58.38 kB / 0.7426 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.638e-05/0.0269, allocations: 106.6 kB / 0.7427 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.705e-06/0.02691, allocations: 25.7 kB / 0.7428 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.011e-05/0.02693, allocations: 80.14 kB / 0.7428 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.02695, allocations: 0 / 0.7428 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-05/0.02698, allocations: 13.72 kB / 0.7428 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.097e-05/0.02705, allocations: 310.8 kB / 0.7431 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.675e-05/0.02708, allocations: 64.62 kB / 0.7432 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.214e-05/0.02712, allocations: 59.97 kB / 0.7433 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.439e-05/0.02719, allocations: 130.2 kB / 0.7434 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.02719, allocations: 0 / 0.7434 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.507e-05/0.02729, allocations: 152.1 kB / 0.7435 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.0273, allocations: 8 kB / 0.7435 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.0273, allocations: 0 / 0.7435 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.976e-06/0.02731, allocations: 7.875 kB / 0.7435 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.394e-05/0.02736, allocations: 3.984 kB / 0.7435 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.02737, allocations: 7.938 kB / 0.7436 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.228e-06/0.02738, allocations: 3.953 kB / 0.7436 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.02739, allocations: 2.875 kB / 0.7436 GB, free: 6.059 MB / 0.7136 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 4.517e-05/0.02743, allocations: 108.7 kB / 0.7437 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-06/0.02743, allocations: 0 / 0.7437 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.02757, allocations: 168.6 kB / 0.7438 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.02757, allocations: 0 / 0.7438 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.02758, allocations: 3.938 kB / 0.7438 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.02758, allocations: 4.672 kB / 0.7438 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.02768, allocations: 181.8 kB / 0.744 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.02769, allocations: 5.266 kB / 0.744 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.02769, allocations: 0 / 0.744 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-06/0.02769, allocations: 8 kB / 0.744 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-07/0.02769, allocations: 0 / 0.744 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.387e-06/0.0277, allocations: 2.062 kB / 0.744 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.0277, allocations: 0 / 0.744 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.0277, allocations: 3.938 kB / 0.744 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.0278, allocations: 177 kB / 0.7442 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.424e-06/0.02781, allocations: 0 / 0.7442 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.849e-06/0.02781, allocations: 1.406 kB / 0.7442 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.548e-06/0.02782, allocations: 0 / 0.7442 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.02783, allocations: 7.984 kB / 0.7442 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.128e-06/0.02784, allocations: 6.141 kB / 0.7442 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.02784, allocations: 0 / 0.7442 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007812/0.02862, allocations: 0.549 MB / 0.7447 GB, free: 4.793 MB / 0.7136 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.001835/0.03045, allocations: 1.165 MB / 0.7459 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001244/0.03058, allocations: 132.7 kB / 0.746 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.03058, allocations: 0 / 0.746 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002181/0.0308, allocations: 393.7 kB / 0.7464 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.299e-05/0.03087, allocations: 13.64 kB / 0.7464 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006455/0.03152, allocations: 0.7642 MB / 0.7471 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.366e-05/0.03158, allocations: 115.2 kB / 0.7473 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.938e-05/0.0316, allocations: 5.094 kB / 0.7473 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.003e-05/0.03164, allocations: 55.88 kB / 0.7473 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of SimCode: time 6.61e-07/0.03164, allocations: 1.312 kB / 0.7473 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of Templates: time 0.01467/0.04631, allocations: 13.77 MB / 0.7608 GB, free: 4.66 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.238808015361428]