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.001578/0.001577, allocations: 116.2 kB / 16.42 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.001789/0.001789, allocations: 183.9 kB / 17.35 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.404/1.404, allocations: 222.9 MB / 241.1 MB, free: 15.17 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.464/2.464, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 59.91 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7572/0.7587, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002347/0.7611, allocations: 1.257 MB / 1.169 GB, free: 2.602 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006869/0.768, allocations: 4.479 MB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.249e-05/0.768, allocations: 4 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 6.196e-05/0.7681, allocations: 3.984 kB / 1.173 GB, free: 14.09 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.004515/0.7727, allocations: 1.51 MB / 1.174 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001164/0.7728, allocations: 35.91 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 6.976e-05/0.7729, allocations: 19.91 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.186e-05/0.7729, allocations: 4 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 2.603e-05/0.7729, allocations: 4 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.028e-05/0.773, allocations: 21.28 kB / 1.175 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.773, allocations: 0 / 1.175 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004278/0.7773, allocations: 2.282 MB / 1.177 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.7775, allocations: 145.2 kB / 1.177 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.537e-05/0.7775, allocations: 3.938 kB / 1.177 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00391/0.7815, allocations: 1.737 MB / 1.179 GB, free: 8.328 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.7815, allocations: 4 kB / 1.179 GB, free: 8.324 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.958e-06/0.7815, allocations: 0 / 1.179 GB, free: 8.324 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.7815, allocations: 3.938 kB / 1.179 GB, free: 8.32 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.001305/0.7828, allocations: 0.6164 MB / 1.179 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/0.7829, allocations: 11.98 kB / 1.179 GB, free: 7.645 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.527e-05/0.7829, allocations: 4.844 kB / 1.179 GB, free: 7.641 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.7831, allocations: 164.4 kB / 1.179 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.7831, allocations: 4.375 kB / 1.179 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.7832, allocations: 8.109 kB / 1.179 GB, free: 7.43 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.7834, allocations: 169.6 kB / 1.18 GB, free: 7.258 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.7834, allocations: 0 / 1.18 GB, free: 7.258 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.7834, allocations: 0 / 1.18 GB, free: 7.258 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.7834, allocations: 3.938 kB / 1.18 GB, free: 7.254 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002266/0.7837, allocations: 283.9 kB / 1.18 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/0.784, allocations: 285.6 kB / 1.18 GB, free: 6.648 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.7841, allocations: 166.5 kB / 1.18 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.7843, allocations: 148.8 kB / 1.18 GB, free: 6.328 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.7843, allocations: 0 / 1.18 GB, free: 6.328 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.7843, allocations: 34.56 kB / 1.18 GB, free: 6.285 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.7843, allocations: 0 / 1.18 GB, free: 6.285 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.000444/0.7848, allocations: 453.5 kB / 1.181 GB, free: 5.836 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.7848, allocations: 51.41 kB / 1.181 GB, free: 5.773 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.785, allocations: 170 kB / 1.181 GB, free: 5.598 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.785, allocations: 25.7 kB / 1.181 GB, free: 5.566 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 2.61e-05/0.785, allocations: 80.14 kB / 1.181 GB, free: 5.484 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.785, allocations: 0 / 1.181 GB, free: 5.484 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.7851, allocations: 21.7 kB / 1.181 GB, free: 5.457 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.7852, allocations: 310.8 kB / 1.181 GB, free: 5.145 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.7853, allocations: 147.9 kB / 1.182 GB, free: 5 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.7854, allocations: 136.1 kB / 1.182 GB, free: 4.867 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.7857, allocations: 296.7 kB / 1.182 GB, free: 4.574 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.7857, allocations: 0 / 1.182 GB, free: 4.574 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002694/0.786, allocations: 317.5 kB / 1.182 GB, free: 4.258 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.786, allocations: 7.984 kB / 1.182 GB, free: 4.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.786, allocations: 0 / 1.182 GB, free: 4.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.786, allocations: 0 / 1.182 GB, free: 4.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.026e-05/0.7861, allocations: 4 kB / 1.182 GB, free: 4.246 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.7861, allocations: 0 / 1.182 GB, free: 4.246 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.54e-05/0.7862, allocations: 0 / 1.182 GB, free: 4.246 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.7862, allocations: 4.031 kB / 1.182 GB, free: 4.242 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.000123/0.7863, allocations: 165.8 kB / 1.183 GB, free: 4.07 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.879e-05/0.7864, allocations: 7.938 kB / 1.183 GB, free: 4.062 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003002/0.7867, allocations: 320.6 kB / 1.183 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.7867, allocations: 0 / 1.183 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.7867, allocations: 0 / 1.183 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.7867, allocations: 81.11 kB / 1.183 GB, free: 3.641 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.516e-05/0.7868, allocations: 4 kB / 1.183 GB, free: 3.637 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.093e-05/0.7869, allocations: 4.031 kB / 1.183 GB, free: 3.633 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.939e-05/0.7869, allocations: 7.984 kB / 1.183 GB, free: 3.625 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002596/0.7872, allocations: 384.8 kB / 1.183 GB, free: 3.242 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003189/0.7875, allocations: 490.6 kB / 1.184 GB, free: 2.746 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001107/0.7876, allocations: 143.9 kB / 1.184 GB, free: 2.605 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.153e-05/0.7877, allocations: 155.3 kB / 1.184 GB, free: 2.453 MB / 0.9044 GB Notification: Performance of Backend: time 4.11e-07/0.7877, allocations: 0 / 1.184 GB, free: 2.453 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003714/0.7915, allocations: 1.045 MB / 1.185 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001338/0.7928, allocations: 1.265 MB / 1.186 GB, free: 196 kB / 0.9044 GB Notification: Performance of Templates: time 0.02119/0.814, allocations: 12.25 MB / 1.198 GB, free: 3.98 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