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.001377/0.001378, allocations: 106.1 kB / 15.99 MB, free: 6.355 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.001454/0.001454, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.487/1.487, allocations: 222.9 MB / 240.6 MB, free: 13.76 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.556/2.556, allocations: 437 MB / 0.7107 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 63.83 kB / 0.8694 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3521, allocations: 151.6 MB / 1.018 GB, free: 10.91 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002693/0.3549, allocations: 1.316 MB / 1.019 GB, free: 9.582 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.007535/0.3624, allocations: 4.521 MB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.429e-05/0.3625, allocations: 0 / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 6.896e-05/0.3627, allocations: 0 / 1.023 GB, free: 5.043 MB / 0.795 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.004367/0.367, allocations: 1.334 MB / 1.025 GB, free: 3.707 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001035/0.3672, allocations: 31.95 kB / 1.025 GB, free: 3.676 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.62e-05/0.3672, allocations: 11.94 kB / 1.025 GB, free: 3.664 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.45e-05/0.3673, allocations: 4 kB / 1.025 GB, free: 3.66 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.038e-05/0.3673, allocations: 15.97 kB / 1.025 GB, free: 3.645 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.3674, allocations: 66.5 kB / 1.025 GB, free: 3.582 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.988e-06/0.3674, allocations: 0 / 1.025 GB, free: 3.582 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003641/0.3711, allocations: 2.25 MB / 1.027 GB, free: 1.328 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.3713, allocations: 149.2 kB / 1.027 GB, free: 1.18 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.001e-05/0.3713, allocations: 25.28 kB / 1.027 GB, free: 1.156 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002193/0.3735, allocations: 1.244 MB / 1.028 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3736, allocations: 3.984 kB / 1.028 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3736, allocations: 0 / 1.028 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.3736, allocations: 0 / 1.028 GB, free: 15.91 MB / 0.8106 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.00101/0.3746, allocations: 0.6125 MB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.3747, allocations: 12.58 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.3747, allocations: 0.9375 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.3749, allocations: 172.4 kB / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.3749, allocations: 384 / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.3749, allocations: 8.125 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.3751, allocations: 169.6 kB / 1.029 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.3751, allocations: 3.938 kB / 1.029 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.3751, allocations: 0 / 1.029 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3752, allocations: 0 / 1.029 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000249/0.3754, allocations: 279.8 kB / 1.029 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003302/0.3758, allocations: 289.6 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.3759, allocations: 158.6 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.3761, allocations: 152.8 kB / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.121e-06/0.3761, allocations: 0 / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.3761, allocations: 30.56 kB / 1.03 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.3761, allocations: 0 / 1.03 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0004839/0.3766, allocations: 457.5 kB / 1.03 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.3766, allocations: 51.41 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.3768, allocations: 174 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.3768, allocations: 25.7 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.336e-05/0.3769, allocations: 80.14 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.3769, allocations: 7.844 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.3769, allocations: 17.66 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3771, allocations: 314.8 kB / 1.031 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.3772, allocations: 139.9 kB / 1.031 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.3773, allocations: 143.9 kB / 1.031 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.3776, allocations: 288.9 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3776, allocations: 3.938 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002658/0.3778, allocations: 313.5 kB / 1.032 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.3779, allocations: 8 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3779, allocations: 0 / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.3779, allocations: 0 / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.054e-05/0.378, allocations: 0 / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.378, allocations: 0 / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.48e-05/0.3781, allocations: 4 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.3781, allocations: 32 / 1.032 GB, free: 11.84 MB / 0.8106 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.0001247/0.3782, allocations: 173.8 kB / 1.032 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.183e-05/0.3782, allocations: 7.922 kB / 1.032 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003317/0.3786, allocations: 324.6 kB / 1.032 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.3786, allocations: 4 kB / 1.032 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3786, allocations: 0 / 1.032 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3786, allocations: 0 / 1.032 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/0.3788, allocations: 293.5 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3788, allocations: 0 / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.3789, allocations: 8.031 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3789, allocations: 0 / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.3789, allocations: 0 / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3789, allocations: 0 / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3789, allocations: 0 / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.3792, allocations: 337 kB / 1.033 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.748e-05/0.3792, allocations: 77.11 kB / 1.033 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.755e-05/0.3793, allocations: 0 / 1.033 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.083e-05/0.3794, allocations: 4.031 kB / 1.033 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.273e-05/0.3794, allocations: 15.92 kB / 1.033 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.3794, allocations: 0 / 1.033 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001089/0.3795, allocations: 151.2 kB / 1.033 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3795, allocations: 0 / 1.033 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001338/0.3809, allocations: 0.5622 MB / 1.034 GB, free: 9.805 MB / 0.8106 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.002466/0.3834, allocations: 0.9375 MB / 1.035 GB, free: 8.969 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002918/0.3837, allocations: 279.9 kB / 1.035 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3837, allocations: 0 / 1.035 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.3838, allocations: 169.6 kB / 1.035 GB, free: 8.523 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.384, allocations: 6.344 kB / 1.035 GB, free: 8.52 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004785/0.3845, allocations: 337.4 kB / 1.036 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.3848, allocations: 0.6769 MB / 1.036 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.3849, allocations: 11.44 kB / 1.036 GB, free: 7.445 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.3849, allocations: 0 / 1.036 GB, free: 7.445 MB / 0.8106 GB Notification: Performance of Templates: time 0.02131/0.4062, allocations: 12.11 MB / 1.048 GB, free: 11.34 MB / 0.8262 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=400 -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