Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001872/0.001872, allocations: 109.7 kB / 16.41 MB, free: 6.5 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.001688/0.001688, allocations: 183 kB / 17.34 MB, free: 5.762 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.472/1.472, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.619/2.619, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 60.05 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037/1.039, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002374/1.041, allocations: 1.256 MB / 1.169 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007128/1.048, allocations: 4.483 MB / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.102e-05/1.048, allocations: 0 / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 6.373e-05/1.048, allocations: 7.922 kB / 1.173 GB, free: 14.05 MB / 0.9044 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 10.1.1-maint.10.0.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.004788/1.053, allocations: 1.502 MB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001094/1.053, allocations: 43.89 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 6.91e-05/1.053, allocations: 11.98 kB / 1.174 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.318e-05/1.053, allocations: 4 kB / 1.174 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 2.304e-05/1.053, allocations: 4 kB / 1.174 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.904e-05/1.054, allocations: 21.27 kB / 1.175 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/1.054, allocations: 0 / 1.175 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00436/1.058, allocations: 2.278 MB / 1.177 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001722/1.058, allocations: 149.2 kB / 1.177 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.321e-05/1.058, allocations: 7.938 kB / 1.177 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004045/1.062, allocations: 1.739 MB / 1.179 GB, free: 8.285 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/1.062, allocations: 0 / 1.179 GB, free: 8.285 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.053e-06/1.062, allocations: 3.938 kB / 1.179 GB, free: 8.281 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.583e-06/1.062, allocations: 0 / 1.179 GB, free: 8.281 MB / 0.9044 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.001393/1.064, allocations: 0.6409 MB / 1.179 GB, free: 7.59 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/1.064, allocations: 16.88 kB / 1.179 GB, free: 7.574 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.458e-05/1.064, allocations: 0.9375 kB / 1.179 GB, free: 7.574 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/1.064, allocations: 164.4 kB / 1.179 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/1.064, allocations: 384 / 1.179 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/1.064, allocations: 8.125 kB / 1.179 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/1.064, allocations: 169.6 kB / 1.18 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/1.064, allocations: 0 / 1.18 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/1.064, allocations: 3.984 kB / 1.18 GB, free: 7.191 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/1.064, allocations: 0 / 1.18 GB, free: 7.191 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002595/1.065, allocations: 283.9 kB / 1.18 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003414/1.065, allocations: 297.6 kB / 1.18 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/1.065, allocations: 154.5 kB / 1.18 GB, free: 6.414 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/1.065, allocations: 152.8 kB / 1.18 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/1.065, allocations: 0 / 1.18 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/1.065, allocations: 34.5 kB / 1.18 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/1.065, allocations: 0 / 1.18 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.0004815/1.066, allocations: 453.5 kB / 1.181 GB, free: 5.77 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/1.066, allocations: 55.53 kB / 1.181 GB, free: 5.703 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/1.066, allocations: 165.8 kB / 1.181 GB, free: 5.531 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/1.066, allocations: 25.7 kB / 1.181 GB, free: 5.5 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/1.066, allocations: 80.14 kB / 1.181 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/1.066, allocations: 3.938 kB / 1.181 GB, free: 5.414 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/1.066, allocations: 21.7 kB / 1.181 GB, free: 5.387 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001325/1.066, allocations: 314.8 kB / 1.182 GB, free: 5.07 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/1.066, allocations: 136.1 kB / 1.182 GB, free: 4.938 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/1.067, allocations: 143.9 kB / 1.182 GB, free: 4.797 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/1.067, allocations: 292.7 kB / 1.182 GB, free: 4.508 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.067, allocations: 0 / 1.182 GB, free: 4.508 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000275/1.067, allocations: 313.5 kB / 1.182 GB, free: 4.195 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/1.067, allocations: 4 kB / 1.182 GB, free: 4.191 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/1.067, allocations: 7.984 kB / 1.182 GB, free: 4.184 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/1.067, allocations: 4 kB / 1.182 GB, free: 4.18 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.848e-05/1.067, allocations: 4 kB / 1.182 GB, free: 4.176 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/1.067, allocations: 4.094 kB / 1.182 GB, free: 4.172 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.134e-05/1.067, allocations: 0 / 1.182 GB, free: 4.172 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/1.067, allocations: 0 / 1.182 GB, free: 4.172 MB / 0.9044 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.0001291/1.067, allocations: 169.8 kB / 1.183 GB, free: 3.996 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/1.067, allocations: 7.891 kB / 1.183 GB, free: 3.988 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003319/1.068, allocations: 320.6 kB / 1.183 GB, free: 3.664 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/1.068, allocations: 0 / 1.183 GB, free: 3.664 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/1.068, allocations: 0 / 1.183 GB, free: 3.664 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/1.068, allocations: 32 / 1.183 GB, free: 3.664 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/1.068, allocations: 297.6 kB / 1.183 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/1.068, allocations: 0 / 1.183 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.22e-07/1.068, allocations: 0 / 1.183 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/1.068, allocations: 0 / 1.183 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/1.068, allocations: 11.92 kB / 1.183 GB, free: 3.312 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/1.068, allocations: 0 / 1.183 GB, free: 3.312 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/1.068, allocations: 0 / 1.183 GB, free: 3.312 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/1.068, allocations: 348.9 kB / 1.183 GB, free: 2.953 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.42e-05/1.069, allocations: 77.11 kB / 1.184 GB, free: 2.859 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.192e-05/1.069, allocations: 0 / 1.184 GB, free: 2.859 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.659e-05/1.069, allocations: 0 / 1.184 GB, free: 2.859 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.645e-05/1.069, allocations: 0 / 1.184 GB, free: 2.859 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/1.069, allocations: 4 kB / 1.184 GB, free: 2.855 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.799e-05/1.069, allocations: 147.2 kB / 1.184 GB, free: 2.711 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.069, allocations: 0 / 1.184 GB, free: 2.711 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001673/1.07, allocations: 0.5726 MB / 1.184 GB, free: 2.137 MB / 0.9044 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.003013/1.073, allocations: 0.9481 MB / 1.185 GB, free: 1.281 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003214/1.074, allocations: 283.9 kB / 1.185 GB, free: 1.004 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/1.074, allocations: 0 / 1.185 GB, free: 1.004 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/1.074, allocations: 169.6 kB / 1.186 GB, free: 0.832 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/1.074, allocations: 8.062 kB / 1.186 GB, free: 0.8242 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006523/1.075, allocations: 431 kB / 1.186 GB, free: 380 kB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/1.075, allocations: 0.6729 MB / 1.187 GB, free: 15.67 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.521e-05/1.075, allocations: 11.44 kB / 1.187 GB, free: 15.66 MB / 0.92 GB Notification: Performance of SimCode: time 3.01e-07/1.075, allocations: 0 / 1.187 GB, free: 15.66 MB / 0.92 GB Notification: Performance of Templates: time 0.02294/1.098, allocations: 12.12 MB / 1.199 GB, free: 3.543 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches