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.001452/0.001452, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002006/0.003458, allocations: 440 kB / 10.41 MB, free: 284 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.001507/0.001507, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001906/0.003413, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9053/0.9053, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08455/0.9898, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.301/2.301, allocations: 447.1 MB / 0.675 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2292/2.53, allocations: 146 MB / 0.8176 GB, free: 3.836 MB / 0.7917 GB " [Timeout remaining time 177] 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 1.433e-06/1.433e-06, allocations: 0 / 0.819 GB, free: 2.473 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.634e-05, allocations: 5.125 kB / 0.819 GB, free: 2.469 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002095/0.002121, allocations: 0.6222 MB / 0.8196 GB, free: 1.84 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.005674/0.007795, allocations: 5.084 MB / 0.8245 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.493e-05/0.00782, allocations: 4 kB / 0.8245 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.16e-05/0.007851, allocations: 0 / 0.8245 GB, free: 12.72 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.003436/0.01129, allocations: 1.433 MB / 0.8259 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 6.386e-05/0.01135, allocations: 27.91 kB / 0.826 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.719e-05/0.01141, allocations: 11.98 kB / 0.826 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.01145, allocations: 3.984 kB / 0.826 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.164e-05/0.01149, allocations: 4 kB / 0.826 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.977e-05/0.01153, allocations: 11.94 kB / 0.826 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.01154, allocations: 4 kB / 0.826 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003491/0.01503, allocations: 2.601 MB / 0.8285 GB, free: 8.625 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.01515, allocations: 153.2 kB / 0.8287 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.733e-05/0.01517, allocations: 3.938 kB / 0.8287 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.003028/0.0182, allocations: 1.645 MB / 0.8303 GB, free: 6.824 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.148e-05/0.01821, allocations: 0 / 0.8303 GB, free: 6.824 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.513e-06/0.01821, allocations: 0 / 0.8303 GB, free: 6.824 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.01822, allocations: 0 / 0.8303 GB, free: 6.824 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.0008675/0.01909, allocations: 0.6653 MB / 0.831 GB, free: 6.133 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.01912, allocations: 12.03 kB / 0.831 GB, free: 6.121 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.076e-05/0.01915, allocations: 4.922 kB / 0.831 GB, free: 6.117 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.832e-05/0.01923, allocations: 105.8 kB / 0.8311 GB, free: 5.988 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.01924, allocations: 384 / 0.8311 GB, free: 5.988 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.01925, allocations: 8.25 kB / 0.8311 GB, free: 5.98 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.01936, allocations: 90.23 kB / 0.8312 GB, free: 5.887 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.01937, allocations: 7.938 kB / 0.8312 GB, free: 5.879 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.78e-06/0.01938, allocations: 0 / 0.8312 GB, free: 5.879 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.01938, allocations: 0 / 0.8312 GB, free: 5.879 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.03e-05/0.01945, allocations: 123.9 kB / 0.8313 GB, free: 5.758 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001473/0.0196, allocations: 177 kB / 0.8315 GB, free: 5.57 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.091e-05/0.01967, allocations: 78.58 kB / 0.8315 GB, free: 5.484 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.266e-05/0.01971, allocations: 68.83 kB / 0.8316 GB, free: 5.414 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.201e-06/0.01972, allocations: 0 / 0.8316 GB, free: 5.414 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.01974, allocations: 34.56 kB / 0.8316 GB, free: 5.371 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 1.764e-06/0.01974, allocations: 3.984 kB / 0.8316 GB, free: 5.367 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 0.0002011/0.01994, allocations: 209.6 kB / 0.8318 GB, free: 5.156 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.01997, allocations: 55.34 kB / 0.8319 GB, free: 5.09 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.778e-05/0.02004, allocations: 106.8 kB / 0.832 GB, free: 4.973 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.02005, allocations: 25.7 kB / 0.832 GB, free: 4.941 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.406e-05/0.02008, allocations: 84.14 kB / 0.8321 GB, free: 4.855 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.02011, allocations: 0 / 0.8321 GB, free: 4.855 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.16e-05/0.02013, allocations: 13.72 kB / 0.8321 GB, free: 4.836 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.396e-05/0.02021, allocations: 314.8 kB / 0.8324 GB, free: 4.52 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.02041, allocations: 63.92 kB / 0.8325 GB, free: 4.457 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.545e-05/0.02045, allocations: 59.97 kB / 0.8325 GB, free: 4.398 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.835e-05/0.02052, allocations: 128.8 kB / 0.8326 GB, free: 4.27 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.02053, allocations: 192 / 0.8326 GB, free: 4.27 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000101/0.02063, allocations: 153.6 kB / 0.8328 GB, free: 4.113 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.02064, allocations: 8 kB / 0.8328 GB, free: 4.105 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.02064, allocations: 0 / 0.8328 GB, free: 4.105 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.02066, allocations: 3.984 kB / 0.8328 GB, free: 4.102 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.593e-05/0.02071, allocations: 0 / 0.8328 GB, free: 4.102 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.02072, allocations: 7.938 kB / 0.8328 GB, free: 4.094 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.536e-06/0.02073, allocations: 0 / 0.8328 GB, free: 4.094 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.02073, allocations: 3.938 kB / 0.8328 GB, free: 4.09 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 4.779e-05/0.02078, allocations: 108.7 kB / 0.8329 GB, free: 3.973 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.209e-06/0.02079, allocations: 0 / 0.8329 GB, free: 3.973 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001486/0.02093, allocations: 164.7 kB / 0.8331 GB, free: 3.809 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.02094, allocations: 3.984 kB / 0.8331 GB, free: 3.805 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.02094, allocations: 11.88 kB / 0.8331 GB, free: 3.793 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.02094, allocations: 0 / 0.8331 GB, free: 3.793 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.02106, allocations: 185.8 kB / 0.8333 GB, free: 3.594 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.02106, allocations: 0 / 0.8333 GB, free: 3.594 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.02106, allocations: 0 / 0.8333 GB, free: 3.594 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-06/0.02107, allocations: 11.98 kB / 0.8333 GB, free: 3.582 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.02107, allocations: 0 / 0.8333 GB, free: 3.582 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-06/0.02107, allocations: 0 / 0.8333 GB, free: 3.582 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.02108, allocations: 4.031 kB / 0.8333 GB, free: 3.578 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.02108, allocations: 0 / 0.8333 GB, free: 3.578 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.02119, allocations: 185 kB / 0.8335 GB, free: 3.379 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.274e-06/0.0212, allocations: 0 / 0.8335 GB, free: 3.379 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.921e-06/0.0212, allocations: 0 / 0.8335 GB, free: 3.379 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.13e-05/0.02122, allocations: 3.984 kB / 0.8335 GB, free: 3.375 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.02122, allocations: 4 kB / 0.8335 GB, free: 3.371 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.259e-05/0.02123, allocations: 4.859 kB / 0.8335 GB, free: 3.363 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.02123, allocations: 0 / 0.8335 GB, free: 3.363 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001081/0.02231, allocations: 0.549 MB / 0.834 GB, free: 2.812 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.002313/0.02463, allocations: 1.165 MB / 0.8351 GB, free: 1.812 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001564/0.02478, allocations: 132.8 kB / 0.8353 GB, free: 1.68 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.02479, allocations: 0 / 0.8353 GB, free: 1.68 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.02501, allocations: 394.4 kB / 0.8357 GB, free: 1.285 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.484e-05/0.02509, allocations: 12.89 kB / 0.8357 GB, free: 1.273 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006532/0.02575, allocations: 0.7607 MB / 0.8364 GB, free: 496 kB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.379e-05/0.02581, allocations: 119.1 kB / 0.8365 GB, free: 356 kB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.229e-05/0.02583, allocations: 0 / 0.8365 GB, free: 356 kB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.585e-05/0.02588, allocations: 55.38 kB / 0.8366 GB, free: 300 kB / 0.8073 GB Notification: Performance of SimCode: time 1.293e-06/0.02588, allocations: 0 / 0.8366 GB, free: 300 kB / 0.8073 GB Notification: Performance of Templates: time 0.01583/0.04171, allocations: 13.74 MB / 0.85 GB, free: 2.566 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.58691777754575]