Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TStep",fileNamePrefix="Buildings_11_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=5000,variableFilter="time|TStep",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 109.1 kB / 15.99 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 189.2 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.565/2.565, allocations: 469.8 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 64.55 kB / 0.9088 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3275, allocations: 159.1 MB / 1.064 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.0025/0.3301, allocations: 1.329 MB / 1.065 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.006959/0.337, allocations: 4.5 MB / 1.07 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.615e-05/0.3371, allocations: 0 / 1.07 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.257e-05/0.3372, allocations: 0 / 1.07 GB, free: 9.219 MB / 0.8419 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeBindings: time 0.004108/0.3414, allocations: 1.339 MB / 1.071 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 9.814e-05/0.3415, allocations: 31.91 kB / 1.071 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.617e-05/0.3415, allocations: 12 kB / 1.071 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.419e-05/0.3416, allocations: 7.984 kB / 1.071 GB, free: 7.832 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.227e-05/0.3416, allocations: 4 kB / 1.071 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.3417, allocations: 70.5 kB / 1.071 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.057e-06/0.3417, allocations: 0 / 1.071 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003423/0.3452, allocations: 2.25 MB / 1.073 GB, free: 5.504 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.3453, allocations: 149.2 kB / 1.074 GB, free: 5.359 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.235e-05/0.3454, allocations: 29.28 kB / 1.074 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002104/0.3475, allocations: 1.24 MB / 1.075 GB, free: 4.09 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3475, allocations: 4 kB / 1.075 GB, free: 4.086 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3475, allocations: 0 / 1.075 GB, free: 4.086 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.3476, allocations: 0 / 1.075 GB, free: 4.086 MB / 0.8419 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.001005/0.3486, allocations: 0.6222 MB / 1.075 GB, free: 3.418 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3486, allocations: 12.03 kB / 1.075 GB, free: 3.406 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.3487, allocations: 4.875 kB / 1.075 GB, free: 3.402 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.3488, allocations: 160.4 kB / 1.076 GB, free: 3.207 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.3489, allocations: 4.375 kB / 1.076 GB, free: 3.203 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.3489, allocations: 8.109 kB / 1.076 GB, free: 3.195 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.3491, allocations: 173.6 kB / 1.076 GB, free: 3.02 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.3492, allocations: 0 / 1.076 GB, free: 3.02 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.3492, allocations: 0 / 1.076 GB, free: 3.02 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.3492, allocations: 4 kB / 1.076 GB, free: 3.016 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002414/0.3494, allocations: 279.9 kB / 1.076 GB, free: 2.742 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003285/0.3498, allocations: 289.6 kB / 1.076 GB, free: 2.41 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.3499, allocations: 154.5 kB / 1.077 GB, free: 2.25 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.3501, allocations: 156.8 kB / 1.077 GB, free: 2.094 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.3501, allocations: 0 / 1.077 GB, free: 2.094 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.3501, allocations: 38.5 kB / 1.077 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 7.22e-07/0.3501, allocations: 0 / 1.077 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.000488/0.3506, allocations: 453.4 kB / 1.077 GB, free: 1.598 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.3507, allocations: 51.41 kB / 1.077 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.3508, allocations: 173.8 kB / 1.077 GB, free: 1.355 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.3509, allocations: 29.95 kB / 1.077 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.731e-05/0.3509, allocations: 80.14 kB / 1.077 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.3509, allocations: 3.938 kB / 1.077 GB, free: 1.234 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.351, allocations: 13.72 kB / 1.077 GB, free: 1.215 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3511, allocations: 310.8 kB / 1.078 GB, free: 0.9023 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.3512, allocations: 143.9 kB / 1.078 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.3514, allocations: 143.9 kB / 1.078 GB, free: 0.6211 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/0.3516, allocations: 296.8 kB / 1.078 GB, free: 336 kB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3517, allocations: 0 / 1.078 GB, free: 336 kB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002714/0.3519, allocations: 313.5 kB / 1.079 GB, free: 16 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.352, allocations: 4 kB / 1.079 GB, free: 12 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.352, allocations: 4 kB / 1.079 GB, free: 8 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.352, allocations: 0 / 1.079 GB, free: 8 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.221e-05/0.3521, allocations: 0 / 1.079 GB, free: 8 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.3521, allocations: 0 / 1.079 GB, free: 8 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.05e-05/0.3521, allocations: 3.938 kB / 1.079 GB, free: 4 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.3522, allocations: 4 kB / 1.079 GB, free: 0 / 0.8419 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 0.4447/0.7969, allocations: 165.9 kB / 1.079 GB, free: 21.63 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.7969, allocations: 5.281 kB / 1.079 GB, free: 21.63 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004956/0.7974, allocations: 326.5 kB / 1.079 GB, free: 21.6 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.7974, allocations: 0.5312 kB / 1.079 GB, free: 21.6 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.7974, allocations: 0.5938 kB / 1.079 GB, free: 21.6 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.7975, allocations: 1.156 kB / 1.079 GB, free: 21.6 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.7977, allocations: 288.6 kB / 1.079 GB, free: 21.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.7978, allocations: 1.531 kB / 1.079 GB, free: 21.41 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.823e-06/0.7978, allocations: 2.016 kB / 1.079 GB, free: 21.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.7978, allocations: 0 / 1.079 GB, free: 21.41 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.7978, allocations: 1.422 kB / 1.079 GB, free: 21.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.7978, allocations: 3.828 kB / 1.079 GB, free: 21.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.7978, allocations: 5.625 kB / 1.079 GB, free: 21.41 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/0.7982, allocations: 340.7 kB / 1.08 GB, free: 21.35 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/0.7982, allocations: 77.86 kB / 1.08 GB, free: 21.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.108e-05/0.7983, allocations: 4.25 kB / 1.08 GB, free: 21.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.405e-05/0.7984, allocations: 0 / 1.08 GB, free: 21.26 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.196e-05/0.7984, allocations: 4.5 kB / 1.08 GB, free: 21.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.7984, allocations: 3.125 kB / 1.08 GB, free: 21.25 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001011/0.7985, allocations: 154.7 kB / 1.08 GB, free: 21.18 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7985, allocations: 0 / 1.08 GB, free: 21.18 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001522/0.8, allocations: 0.5662 MB / 1.081 GB, free: 21.17 MB / 0.8419 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.002377/0.8024, allocations: 0.924 MB / 1.081 GB, free: 21.01 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003181/0.8028, allocations: 282.7 kB / 1.082 GB, free: 21.01 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.8028, allocations: 0 / 1.082 GB, free: 21.01 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.8029, allocations: 170.9 kB / 1.082 GB, free: 20.98 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.8031, allocations: 2.047 kB / 1.082 GB, free: 20.98 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004492/0.8036, allocations: 314.2 kB / 1.082 GB, free: 20.86 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.921e-05/0.8037, allocations: 0.6715 MB / 1.083 GB, free: 20.16 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.379e-05/0.8037, allocations: 15.36 kB / 1.083 GB, free: 20.16 MB / 0.8419 GB Notification: Performance of SimCode: time 2e-07/0.8037, allocations: 0 / 1.083 GB, free: 20.16 MB / 0.8419 GB Notification: Performance of Templates: time 0.0248/0.8285, allocations: 12.11 MB / 1.095 GB, free: 18.29 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches