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.007704/0.007704, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001868/0.001868, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.488/2.488, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 63.91 kB / 1.054 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7236/0.7257, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.00216/0.7279, allocations: 1.262 MB / 1.209 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006394/0.7344, allocations: 4.475 MB / 1.213 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.138e-05/0.7344, allocations: 0 / 1.213 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.524e-05/0.7345, allocations: 0 / 1.213 GB, free: 7.82 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.003733/0.7382, allocations: 1.508 MB / 1.215 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 9.248e-05/0.7383, allocations: 31.91 kB / 1.215 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.138e-05/0.7384, allocations: 19.98 kB / 1.215 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.921e-05/0.7384, allocations: 3.984 kB / 1.215 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.101e-05/0.7385, allocations: 4 kB / 1.215 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.324e-05/0.7385, allocations: 25.22 kB / 1.215 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.518e-06/0.7385, allocations: 0 / 1.215 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003372/0.7419, allocations: 2.278 MB / 1.217 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.742, allocations: 153.2 kB / 1.217 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/0.7421, allocations: 7.938 kB / 1.217 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00273/0.7448, allocations: 1.725 MB / 1.219 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.7448, allocations: 4 kB / 1.219 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7449, allocations: 0 / 1.219 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.7449, allocations: 0 / 1.219 GB, free: 2.062 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.001025/0.7459, allocations: 0.6125 MB / 1.22 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.7459, allocations: 12.03 kB / 1.22 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.746, allocations: 4.844 kB / 1.22 GB, free: 1.387 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.7461, allocations: 176.3 kB / 1.22 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.7461, allocations: 4.375 kB / 1.22 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.7461, allocations: 4.125 kB / 1.22 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.7463, allocations: 169.6 kB / 1.22 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.7463, allocations: 0 / 1.22 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.7464, allocations: 0 / 1.22 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.7464, allocations: 0 / 1.22 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/0.7466, allocations: 279.9 kB / 1.22 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002569/0.7468, allocations: 289.6 kB / 1.22 GB, free: 400 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.747, allocations: 162.5 kB / 1.221 GB, free: 228 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.7471, allocations: 156.7 kB / 1.221 GB, free: 68 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.7471, allocations: 0 / 1.221 GB, free: 68 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.7472, allocations: 34.5 kB / 1.221 GB, free: 24 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.7472, allocations: 0 / 1.221 GB, free: 24 kB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.000431/0.7476, allocations: 453.6 kB / 1.221 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.7477, allocations: 51.53 kB / 1.221 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.7478, allocations: 173.7 kB / 1.221 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.7478, allocations: 29.7 kB / 1.221 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.471e-05/0.7479, allocations: 80.14 kB / 1.222 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.7479, allocations: 0 / 1.222 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.7479, allocations: 9.719 kB / 1.222 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.748, allocations: 318.8 kB / 1.222 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.7481, allocations: 139.9 kB / 1.222 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.7483, allocations: 144.1 kB / 1.222 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.7485, allocations: 284.8 kB / 1.222 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7485, allocations: 0 / 1.222 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002623/0.7488, allocations: 317.5 kB / 1.223 GB, free: 14 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.7488, allocations: 4 kB / 1.223 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.7488, allocations: 0 / 1.223 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.7488, allocations: 0 / 1.223 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.449e-05/0.7489, allocations: 11.94 kB / 1.223 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.7489, allocations: 0 / 1.223 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.84e-05/0.749, allocations: 4.094 kB / 1.223 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.749, allocations: 3.984 kB / 1.223 GB, free: 13.98 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.0001176/0.7491, allocations: 173.8 kB / 1.223 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.075e-05/0.7491, allocations: 3.938 kB / 1.223 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002914/0.7494, allocations: 316.7 kB / 1.223 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.7494, allocations: 0 / 1.223 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.7494, allocations: 0 / 1.223 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.7494, allocations: 0 / 1.223 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.7497, allocations: 293.6 kB / 1.224 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.7497, allocations: 4 kB / 1.224 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.7497, allocations: 0 / 1.224 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.7497, allocations: 0 / 1.224 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.7497, allocations: 0 / 1.224 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.7497, allocations: 4 kB / 1.224 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7497, allocations: 7.875 kB / 1.224 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.75, allocations: 340.9 kB / 1.224 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.154e-05/0.7501, allocations: 81.14 kB / 1.224 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.35e-05/0.7501, allocations: 0 / 1.224 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.957e-05/0.7502, allocations: 3.984 kB / 1.224 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.298e-05/0.7502, allocations: 4 kB / 1.224 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.7502, allocations: 0 / 1.224 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.657e-05/0.7503, allocations: 151.2 kB / 1.224 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7503, allocations: 3.938 kB / 1.224 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001223/0.7516, allocations: 0.5661 MB / 1.225 GB, free: 11.95 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.002388/0.754, allocations: 0.9248 MB / 1.226 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002697/0.7542, allocations: 291.8 kB / 1.226 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.7542, allocations: 0 / 1.226 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.7544, allocations: 161.7 kB / 1.226 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.7546, allocations: 7.938 kB / 1.226 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.7557, allocations: 0.9221 MB / 1.227 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.7561, allocations: 0.8185 MB / 1.228 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.697e-05/0.7561, allocations: 0 / 1.228 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.471e-05/0.7561, allocations: 11.44 kB / 1.228 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.7561, allocations: 0 / 1.228 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of Templates: time 0.01949/0.7756, allocations: 12.37 MB / 1.24 GB, free: 12.54 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/jenkins/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