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.00106/0.00106, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001096/0.001096, allocations: 191.9 kB / 16.25 MB, free: 6.633 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 / 239.9 MB, free: 4.504 MB / 190.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.522/2.522, allocations: 437 MB / 0.71 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.91 kB / 0.8688 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6095/0.6108, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002733/0.6136, allocations: 1.319 MB / 1.018 GB, free: 1.383 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.006316/0.6199, allocations: 4.516 MB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.442e-05/0.62, allocations: 0 / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.44e-05/0.6201, allocations: 0 / 1.023 GB, free: 12.85 MB / 0.7794 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.003655/0.6237, allocations: 1.342 MB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 8.531e-05/0.6238, allocations: 27.97 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.34e-05/0.6239, allocations: 19.94 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.005e-05/0.6239, allocations: 3.984 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.075e-05/0.624, allocations: 4 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.524e-05/0.6241, allocations: 66.55 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.167e-06/0.6241, allocations: 7.938 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002993/0.6271, allocations: 2.242 MB / 1.026 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.6272, allocations: 149.2 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.202e-05/0.6273, allocations: 29.28 kB / 1.026 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00224/0.6296, allocations: 1.749 MB / 1.028 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.6296, allocations: 0 / 1.028 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6296, allocations: 0 / 1.028 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.6296, allocations: 4 kB / 1.028 GB, free: 7.203 MB / 0.7794 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.0008334/0.6304, allocations: 0.6125 MB / 1.029 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.6305, allocations: 11.98 kB / 1.029 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.6305, allocations: 8.875 kB / 1.029 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.6306, allocations: 160.4 kB / 1.029 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.6306, allocations: 384 / 1.029 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.308e-06/0.6307, allocations: 4.125 kB / 1.029 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.6308, allocations: 169.6 kB / 1.029 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.6309, allocations: 4 kB / 1.029 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.6309, allocations: 3.984 kB / 1.029 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.6309, allocations: 3.938 kB / 1.029 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00022/0.6311, allocations: 279.9 kB / 1.029 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002694/0.6314, allocations: 285.6 kB / 1.03 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.6315, allocations: 158.5 kB / 1.03 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.6316, allocations: 152.7 kB / 1.03 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.6317, allocations: 8 kB / 1.03 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.6317, allocations: 34.56 kB / 1.03 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.6317, allocations: 0 / 1.03 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0004068/0.6321, allocations: 457.5 kB / 1.03 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.6322, allocations: 55.41 kB / 1.03 GB, free: 4.652 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.6323, allocations: 161.8 kB / 1.03 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.6323, allocations: 29.7 kB / 1.031 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.749e-05/0.6323, allocations: 88.38 kB / 1.031 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.6324, allocations: 7.906 kB / 1.031 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.6324, allocations: 9.719 kB / 1.031 GB, free: 4.336 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.6325, allocations: 314.8 kB / 1.031 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.786e-05/0.6326, allocations: 139.9 kB / 1.031 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.947e-05/0.6327, allocations: 136 kB / 1.031 GB, free: 3.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/0.6329, allocations: 292.7 kB / 1.031 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.6329, allocations: 0 / 1.031 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002457/0.6332, allocations: 325.6 kB / 1.032 GB, free: 3.137 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.6332, allocations: 4 kB / 1.032 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.6332, allocations: 0 / 1.032 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.6332, allocations: 0 / 1.032 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.733e-05/0.6333, allocations: 4 kB / 1.032 GB, free: 3.129 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.6333, allocations: 0 / 1.032 GB, free: 3.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.401e-05/0.6334, allocations: 0 / 1.032 GB, free: 3.129 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.6334, allocations: 0 / 1.032 GB, free: 3.129 MB / 0.7794 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.0001076/0.6335, allocations: 170.3 kB / 1.032 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.6335, allocations: 11.91 kB / 1.032 GB, free: 2.941 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/0.6338, allocations: 324.6 kB / 1.032 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.6338, allocations: 0 / 1.032 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6339, allocations: 0 / 1.032 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.6339, allocations: 0 / 1.032 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.6341, allocations: 297.5 kB / 1.033 GB, free: 2.277 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.6341, allocations: 0 / 1.033 GB, free: 2.277 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.6341, allocations: 0 / 1.033 GB, free: 2.277 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.6341, allocations: 0 / 1.033 GB, free: 2.277 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-06/0.6341, allocations: 0 / 1.033 GB, free: 2.277 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6341, allocations: 4.031 kB / 1.033 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.6341, allocations: 4 kB / 1.033 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.6344, allocations: 337 kB / 1.033 GB, free: 1.922 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.018e-05/0.6344, allocations: 81.11 kB / 1.033 GB, free: 1.824 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.933e-05/0.6345, allocations: 3.938 kB / 1.033 GB, free: 1.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.138e-05/0.6346, allocations: 0 / 1.033 GB, free: 1.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.173e-05/0.6346, allocations: 4 kB / 1.033 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.6346, allocations: 7.969 kB / 1.033 GB, free: 1.809 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.801e-05/0.6347, allocations: 151.2 kB / 1.033 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6347, allocations: 0 / 1.033 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001186/0.6359, allocations: 0.57 MB / 1.034 GB, free: 1.09 MB / 0.7794 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.002094/0.638, allocations: 0.9207 MB / 1.035 GB, free: 276 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002684/0.6383, allocations: 287.9 kB / 1.035 GB, free: 15.98 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.6383, allocations: 0 / 1.035 GB, free: 15.98 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.6384, allocations: 165.6 kB / 1.035 GB, free: 15.82 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.6386, allocations: 11.94 kB / 1.035 GB, free: 15.81 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.6398, allocations: 1.011 MB / 1.036 GB, free: 14.77 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.6401, allocations: 0.8185 MB / 1.037 GB, free: 13.93 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.067e-05/0.6402, allocations: 4 kB / 1.037 GB, free: 13.92 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.228e-05/0.6402, allocations: 11.44 kB / 1.037 GB, free: 13.91 MB / 0.795 GB Notification: Performance of SimCode: time 4.81e-07/0.6402, allocations: 0 / 1.037 GB, free: 13.91 MB / 0.795 GB Notification: Performance of Templates: time 0.01833/0.6585, allocations: 12.24 MB / 1.049 GB, free: 1.715 MB / 0.795 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/jenkins/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