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.001055/0.001055, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001445/0.0025, allocations: 449.7 kB / 10.37 MB, free: 328 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.001092/0.001092, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001355/0.002446, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9059/0.9059, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07395/0.9798, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.8/1.8, allocations: 378.2 MB / 0.6076 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4701/2.27, allocations: 123.3 MB / 0.728 GB, free: 5.82 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.293e-06/1.293e-06, allocations: 3.938 kB / 0.7294 GB, free: 4.488 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/2.025e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.484 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001189/0.001209, allocations: 0.62 MB / 0.73 GB, free: 3.887 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.005554/0.006763, allocations: 5.091 MB / 0.7349 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.067e-05/0.006784, allocations: 0 / 0.7349 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.942e-05/0.006803, allocations: 0.625 kB / 0.7349 GB, free: 14.8 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.002116/0.008919, allocations: 1.443 MB / 0.7364 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 4.463e-05/0.008964, allocations: 27.91 kB / 0.7364 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.551e-05/0.00902, allocations: 7.984 kB / 0.7364 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.00906, allocations: 4 kB / 0.7364 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.665e-05/0.009107, allocations: 9.016 kB / 0.7364 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.841e-05/0.009145, allocations: 7.938 kB / 0.7364 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.009159, allocations: 0.5312 kB / 0.7364 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002917/0.01208, allocations: 2.597 MB / 0.7389 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.01218, allocations: 149.8 kB / 0.7391 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.527e-05/0.01219, allocations: 0 / 0.7391 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001632/0.01382, allocations: 1.65 MB / 0.7407 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.01383, allocations: 0 / 0.7407 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.71e-07/0.01383, allocations: 1.312 kB / 0.7407 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.01385, allocations: 0 / 0.7407 GB, free: 8.918 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.0005909/0.01444, allocations: 0.6692 MB / 0.7414 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.826e-05/0.01447, allocations: 12.59 kB / 0.7414 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.223e-05/0.01449, allocations: 0.9375 kB / 0.7414 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.601e-05/0.01455, allocations: 114.9 kB / 0.7415 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.01456, allocations: 384 / 0.7415 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.491e-06/0.01457, allocations: 384 / 0.7415 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.589e-05/0.01466, allocations: 91.33 kB / 0.7416 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.01467, allocations: 3.938 kB / 0.7416 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.54e-06/0.01467, allocations: 0.9375 kB / 0.7416 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.01468, allocations: 0 / 0.7416 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.515e-05/0.01475, allocations: 124.9 kB / 0.7417 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001186/0.01487, allocations: 176.9 kB / 0.7419 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.979e-05/0.01493, allocations: 78.58 kB / 0.7419 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.958e-05/0.01497, allocations: 67.64 kB / 0.742 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.102e-06/0.01498, allocations: 4 kB / 0.742 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.015, allocations: 30.56 kB / 0.742 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 5.61e-07/0.015, allocations: 0 / 0.742 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.000166/0.01516, allocations: 217.5 kB / 0.7422 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.01519, allocations: 59.34 kB / 0.7423 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.591e-05/0.01524, allocations: 97.44 kB / 0.7424 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.01524, allocations: 25.7 kB / 0.7424 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.846e-05/0.01526, allocations: 84.12 kB / 0.7425 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.01528, allocations: 4 kB / 0.7425 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.07e-05/0.0153, allocations: 13.7 kB / 0.7425 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.309e-05/0.01537, allocations: 310.8 kB / 0.7428 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.236e-05/0.0154, allocations: 64.56 kB / 0.7429 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.191e-05/0.01543, allocations: 55.98 kB / 0.7429 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.444e-05/0.01551, allocations: 131 kB / 0.743 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01551, allocations: 0 / 0.743 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.979e-05/0.0156, allocations: 157.6 kB / 0.7432 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.01561, allocations: 7.984 kB / 0.7432 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.01561, allocations: 2.438 kB / 0.7432 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.434e-06/0.01562, allocations: 0 / 0.7432 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.797e-05/0.01567, allocations: 4 kB / 0.7432 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.01567, allocations: 3.938 kB / 0.7432 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.365e-06/0.01568, allocations: 3.953 kB / 0.7432 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.01569, allocations: 4 kB / 0.7432 GB, free: 6.195 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.484e-05/0.01573, allocations: 110.8 kB / 0.7433 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.209e-06/0.01574, allocations: 4 kB / 0.7433 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003803/0.01612, allocations: 168.5 kB / 0.7435 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.01612, allocations: 0 / 0.7435 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.01612, allocations: 7.875 kB / 0.7435 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.01612, allocations: 1.031 kB / 0.7435 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.881e-05/0.01622, allocations: 181.8 kB / 0.7437 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.01623, allocations: 0 / 0.7437 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.01623, allocations: 2.469 kB / 0.7437 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.575e-06/0.01623, allocations: 4 kB / 0.7437 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.01623, allocations: 0 / 0.7437 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-06/0.01623, allocations: 0 / 0.7437 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.01623, allocations: 0 / 0.7437 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.01624, allocations: 3.984 kB / 0.7437 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.538e-05/0.01633, allocations: 179.5 kB / 0.7439 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.003e-06/0.01634, allocations: 3.984 kB / 0.7439 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.019e-06/0.01634, allocations: 0 / 0.7439 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.306e-06/0.01635, allocations: 4 kB / 0.7439 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.01635, allocations: 0 / 0.7439 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.117e-06/0.01636, allocations: 8.844 kB / 0.7439 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.01636, allocations: 1.312 kB / 0.7439 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005857/0.01695, allocations: 0.5529 MB / 0.7444 GB, free: 4.926 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.001689/0.01864, allocations: 1.165 MB / 0.7455 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001079/0.01875, allocations: 128.8 kB / 0.7457 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.01875, allocations: 4.75 kB / 0.7457 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.07e-05/0.0188, allocations: 90.53 kB / 0.7458 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.97e-05/0.01885, allocations: 10.44 kB / 0.7458 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005728/0.01942, allocations: 0.7682 MB / 0.7465 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.082e-05/0.01948, allocations: 112.4 kB / 0.7466 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.712e-05/0.0195, allocations: 4.625 kB / 0.7466 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.01953, allocations: 53.34 kB / 0.7467 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of SimCode: time 4.61e-07/0.01953, allocations: 0 / 0.7467 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of Templates: time 0.01396/0.03349, allocations: 13.79 MB / 0.7602 GB, free: 5.074 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.341542227193713]