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.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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=5000,variableFilter="time|TStep",fileNamePrefix="Buildings_latest_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.001324/0.001324, allocations: 110.1 kB / 16.41 MB, free: 6.492 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.001452/0.001452, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.446/1.446, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.745/2.745, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 67.89 kB / 1.055 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9769/0.9785, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002507/0.981, allocations: 1.263 MB / 1.21 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007113/0.9882, allocations: 4.483 MB / 1.214 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.3e-05/0.9883, allocations: 7.938 kB / 1.214 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.184e-05/0.9884, allocations: 0 / 1.214 GB, free: 7.828 MB / 0.9356 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.0.1-master/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.004634/0.993, allocations: 1.5 MB / 1.216 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001174/0.9932, allocations: 39.88 kB / 1.216 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.088e-05/0.9932, allocations: 8 kB / 1.216 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.378e-05/0.9933, allocations: 0 / 1.216 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.632e-05/0.9933, allocations: 7.984 kB / 1.216 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.582e-05/0.9934, allocations: 25.28 kB / 1.216 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.9934, allocations: 0 / 1.216 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004095/0.9975, allocations: 2.285 MB / 1.218 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001547/0.9977, allocations: 145.2 kB / 1.218 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.336e-05/0.9977, allocations: 3.938 kB / 1.218 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003861/1.002, allocations: 1.729 MB / 1.22 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/1.002, allocations: 0 / 1.22 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.204e-06/1.002, allocations: 0 / 1.22 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.073e-06/1.002, allocations: 4 kB / 1.22 GB, free: 2.082 MB / 0.9356 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.001484/1.003, allocations: 0.6266 MB / 1.22 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/1.003, allocations: 8.031 kB / 1.22 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/1.003, allocations: 4.844 kB / 1.22 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/1.003, allocations: 164.4 kB / 1.22 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/1.003, allocations: 384 / 1.22 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/1.003, allocations: 8.062 kB / 1.22 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/1.004, allocations: 169.6 kB / 1.221 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/1.004, allocations: 0 / 1.221 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/1.004, allocations: 3.938 kB / 1.221 GB, free: 1.016 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/1.004, allocations: 3.938 kB / 1.221 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000262/1.004, allocations: 287.9 kB / 1.221 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/1.004, allocations: 285.6 kB / 1.221 GB, free: 412 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/1.005, allocations: 158.5 kB / 1.221 GB, free: 244 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/1.005, allocations: 152.7 kB / 1.221 GB, free: 88 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/1.005, allocations: 0 / 1.221 GB, free: 88 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/1.005, allocations: 38.56 kB / 1.222 GB, free: 40 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.303e-06/1.005, allocations: 4 kB / 1.222 GB, free: 36 kB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0005185/1.005, allocations: 445.5 kB / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/1.005, allocations: 51.41 kB / 1.222 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/1.006, allocations: 169.8 kB / 1.222 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/1.006, allocations: 25.7 kB / 1.222 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/1.006, allocations: 84.12 kB / 1.222 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/1.006, allocations: 4 kB / 1.222 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/1.006, allocations: 9.969 kB / 1.222 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001351/1.006, allocations: 314.8 kB / 1.223 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/1.006, allocations: 147.9 kB / 1.223 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/1.006, allocations: 136 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/1.006, allocations: 292.7 kB / 1.223 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.006, allocations: 0 / 1.223 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002798/1.007, allocations: 317.5 kB / 1.223 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/1.007, allocations: 4 kB / 1.223 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/1.007, allocations: 4.094 kB / 1.223 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/1.007, allocations: 0 / 1.223 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.838e-05/1.007, allocations: 4 kB / 1.223 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/1.007, allocations: 0 / 1.223 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.832e-05/1.007, allocations: 0 / 1.223 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/1.007, allocations: 7.938 kB / 1.223 GB, free: 14 MB / 0.9512 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.0001368/1.007, allocations: 165.8 kB / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/1.007, allocations: 7.938 kB / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003442/1.007, allocations: 324.7 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/1.007, allocations: 0 / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.007, allocations: 0 / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/1.007, allocations: 3.984 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/1.008, allocations: 293.5 kB / 1.224 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/1.008, allocations: 0 / 1.224 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-07/1.008, allocations: 3.938 kB / 1.224 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/1.008, allocations: 0 / 1.224 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/1.008, allocations: 0 / 1.224 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/1.008, allocations: 0 / 1.224 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/1.008, allocations: 0 / 1.224 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/1.008, allocations: 356.8 kB / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.141e-05/1.008, allocations: 77.11 kB / 1.225 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.268e-05/1.008, allocations: 4 kB / 1.225 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.12e-05/1.008, allocations: 0 / 1.225 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/1.008, allocations: 0 / 1.225 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/1.008, allocations: 0 / 1.225 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000113/1.008, allocations: 155.2 kB / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/1.008, allocations: 4.125 kB / 1.225 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001718/1.01, allocations: 0.5661 MB / 1.225 GB, free: 11.96 MB / 0.9512 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.003517/1.014, allocations: 0.9169 MB / 1.226 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003351/1.014, allocations: 287.9 kB / 1.227 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/1.014, allocations: 4.062 kB / 1.227 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001742/1.014, allocations: 173.6 kB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/1.014, allocations: 3.938 kB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006807/1.015, allocations: 429.9 kB / 1.227 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/1.015, allocations: 0.669 MB / 1.228 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/1.016, allocations: 11.44 kB / 1.228 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of SimCode: time 4.1e-07/1.016, allocations: 0 / 1.228 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of Templates: time 0.02384/1.039, allocations: 12.11 MB / 1.24 GB, free: 13.41 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches