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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.007619/0.007619, allocations: 103.8 kB / 15.74 MB, free: 6.449 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.001846/0.001846, allocations: 195.8 kB / 16.67 MB, free: 6.355 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.705/2.705, allocations: 472.6 MB / 0.7453 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.84 kB / 1.07 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2676, allocations: 159.9 MB / 1.226 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001977/0.2697, allocations: 1.261 MB / 1.227 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00618/0.2759, allocations: 4.479 MB / 1.231 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.998e-05/0.2759, allocations: 0 / 1.231 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.501e-05/0.276, allocations: 0 / 1.231 GB, free: 3.328 MB / 0.9825 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 12.0.0-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.003831/0.2798, allocations: 1.5 MB / 1.233 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 9.185e-05/0.2799, allocations: 35.91 kB / 1.233 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.862e-05/0.28, allocations: 15.92 kB / 1.233 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.497e-05/0.28, allocations: 0 / 1.233 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.019e-05/0.2801, allocations: 7.984 kB / 1.233 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.452e-05/0.2801, allocations: 25.22 kB / 1.233 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.297e-06/0.2801, allocations: 0 / 1.233 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003446/0.2836, allocations: 2.278 MB / 1.235 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.2838, allocations: 157.2 kB / 1.235 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.555e-05/0.2838, allocations: 0 / 1.235 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002609/0.2864, allocations: 1.742 MB / 1.237 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2864, allocations: 0 / 1.237 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2864, allocations: 0 / 1.237 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.2864, allocations: 0 / 1.237 GB, free: 13.56 MB / 0.9981 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.0008087/0.2873, allocations: 0.6408 MB / 1.238 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.2873, allocations: 16.02 kB / 1.238 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.262e-05/0.2873, allocations: 4.938 kB / 1.238 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.2875, allocations: 168.3 kB / 1.238 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.2875, allocations: 384 / 1.238 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.2875, allocations: 4.125 kB / 1.238 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.2877, allocations: 169.6 kB / 1.238 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.2877, allocations: 0 / 1.238 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.2877, allocations: 3.938 kB / 1.238 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.2877, allocations: 0 / 1.238 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/0.2879, allocations: 283.9 kB / 1.238 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002412/0.2882, allocations: 289.6 kB / 1.238 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.2883, allocations: 158.5 kB / 1.239 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.2884, allocations: 144.8 kB / 1.239 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.785e-06/0.2884, allocations: 0 / 1.239 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.2884, allocations: 38.55 kB / 1.239 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.2885, allocations: 3.938 kB / 1.239 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0003796/0.2888, allocations: 461.5 kB / 1.239 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.2889, allocations: 51.41 kB / 1.239 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.289, allocations: 165.8 kB / 1.239 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.289, allocations: 25.7 kB / 1.239 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.385e-05/0.289, allocations: 80.14 kB / 1.24 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.2891, allocations: 4 kB / 1.24 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.2891, allocations: 13.72 kB / 1.24 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.515e-05/0.2892, allocations: 319.1 kB / 1.24 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.206e-05/0.2893, allocations: 136 kB / 1.24 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.302e-05/0.2894, allocations: 143.9 kB / 1.24 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.2896, allocations: 292.7 kB / 1.24 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2896, allocations: 0 / 1.24 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000221/0.2898, allocations: 317.5 kB / 1.241 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.2899, allocations: 8 kB / 1.241 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.2899, allocations: 0 / 1.241 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.2899, allocations: 4.094 kB / 1.241 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.508e-05/0.2899, allocations: 3.984 kB / 1.241 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.29, allocations: 3.984 kB / 1.241 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.964e-05/0.29, allocations: 4 kB / 1.241 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.29, allocations: 3.938 kB / 1.241 GB, free: 9.441 MB / 0.9981 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 9.764e-05/0.2902, allocations: 166.3 kB / 1.241 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.03e-05/0.2902, allocations: 3.938 kB / 1.241 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002686/0.2904, allocations: 324.6 kB / 1.241 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2905, allocations: 8.031 kB / 1.241 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2905, allocations: 0 / 1.241 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.2905, allocations: 0 / 1.241 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.2907, allocations: 285.6 kB / 1.241 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-06/0.2907, allocations: 4 kB / 1.241 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.2907, allocations: 0 / 1.241 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.2907, allocations: 0 / 1.241 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.2907, allocations: 4 kB / 1.241 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2907, allocations: 0 / 1.241 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.2907, allocations: 3.984 kB / 1.241 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.291, allocations: 345 kB / 1.242 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.603e-05/0.291, allocations: 85.03 kB / 1.242 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.157e-05/0.2911, allocations: 0 / 1.242 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.351e-05/0.2911, allocations: 0 / 1.242 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.999e-06/0.2911, allocations: 4 kB / 1.242 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.2911, allocations: 0 / 1.242 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.413e-05/0.2912, allocations: 151.2 kB / 1.242 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2912, allocations: 128 / 1.242 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00117/0.2924, allocations: 0.5842 MB / 1.243 GB, free: 7.398 MB / 0.9981 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.002114/0.2945, allocations: 0.9286 MB / 1.244 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000255/0.2948, allocations: 283.9 kB / 1.244 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2948, allocations: 4.062 kB / 1.244 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.2949, allocations: 169.6 kB / 1.244 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.2951, allocations: 9.109 kB / 1.244 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.2962, allocations: 0.9413 MB / 1.245 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.2965, allocations: 0.8185 MB / 1.246 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.117e-05/0.2966, allocations: 4 kB / 1.246 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.259e-05/0.2966, allocations: 11.44 kB / 1.246 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.2966, allocations: 0 / 1.246 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of Templates: time 0.6104/0.907, allocations: 12.23 MB / 1.258 GB, free: 25.32 MB / 0.9981 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