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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001384/0.001384, allocations: 107.2 kB / 16.36 MB, free: 5.824 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.001554/0.001554, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.445/2.445, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 66.12 kB / 0.8707 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3061, allocations: 151.6 MB / 1.019 GB, free: 9.812 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002522/0.3086, allocations: 1.257 MB / 1.02 GB, free: 8.539 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.006534/0.3152, allocations: 4.502 MB / 1.024 GB, free: 4.016 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.287e-05/0.3153, allocations: 4 kB / 1.024 GB, free: 4.012 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 6.25e-05/0.3154, allocations: 0 / 1.024 GB, free: 4.012 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.0-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.004049/0.3195, allocations: 1.497 MB / 1.026 GB, free: 2.512 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 9.24e-05/0.3196, allocations: 35.89 kB / 1.026 GB, free: 2.477 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.805e-05/0.3196, allocations: 8 kB / 1.026 GB, free: 2.469 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.381e-05/0.3197, allocations: 4 kB / 1.026 GB, free: 2.465 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.3e-05/0.3197, allocations: 8 kB / 1.026 GB, free: 2.457 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.292e-05/0.3198, allocations: 29.19 kB / 1.026 GB, free: 2.43 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.047e-06/0.3198, allocations: 3.938 kB / 1.026 GB, free: 2.426 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003334/0.3231, allocations: 2.274 MB / 1.028 GB, free: 152 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.3233, allocations: 153.2 kB / 1.028 GB, free: 0 / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.566e-05/0.3233, allocations: 11.98 kB / 1.028 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002741/0.3261, allocations: 1.72 MB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.3261, allocations: 0 / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3261, allocations: 0 / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.3261, allocations: 3.938 kB / 1.03 GB, free: 14.26 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.0008922/0.327, allocations: 0.6203 MB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.327, allocations: 20.81 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.3271, allocations: 0.9375 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.3272, allocations: 168.3 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.3272, allocations: 384 / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.3272, allocations: 8.125 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.3274, allocations: 169.6 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.3274, allocations: 0 / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.3274, allocations: 4 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.3275, allocations: 0 / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000213/0.3277, allocations: 279.9 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002652/0.3279, allocations: 285.7 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.3281, allocations: 158.5 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.3282, allocations: 156.8 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.106e-06/0.3282, allocations: 0 / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.3282, allocations: 34.56 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.3282, allocations: 0 / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0003918/0.3286, allocations: 449.5 kB / 1.032 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.3287, allocations: 55.39 kB / 1.032 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.3288, allocations: 169.8 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.3288, allocations: 25.7 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.293e-05/0.3289, allocations: 84.08 kB / 1.033 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.3289, allocations: 8.094 kB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.3289, allocations: 13.72 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.329, allocations: 314.8 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.3291, allocations: 139.9 kB / 1.033 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.954e-05/0.3292, allocations: 139.9 kB / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.3295, allocations: 288.8 kB / 1.033 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3295, allocations: 0 / 1.033 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002589/0.3297, allocations: 317.5 kB / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3298, allocations: 10.44 kB / 1.034 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3298, allocations: 0 / 1.034 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3298, allocations: 4 kB / 1.034 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.455e-05/0.3298, allocations: 3.938 kB / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3299, allocations: 0 / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.628e-05/0.3299, allocations: 0 / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.3299, allocations: 4 kB / 1.034 GB, free: 10.18 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.000109/0.3301, allocations: 173.8 kB / 1.034 GB, free: 10 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.02e-05/0.3301, allocations: 3.938 kB / 1.034 GB, free: 9.996 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002897/0.3304, allocations: 324.7 kB / 1.034 GB, free: 9.672 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3304, allocations: 0 / 1.034 GB, free: 9.672 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.3304, allocations: 3.938 kB / 1.034 GB, free: 9.668 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3304, allocations: 0 / 1.034 GB, free: 9.668 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.3306, allocations: 293.5 kB / 1.035 GB, free: 9.332 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.3306, allocations: 0 / 1.035 GB, free: 9.332 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.3306, allocations: 0 / 1.035 GB, free: 9.332 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.3306, allocations: 0 / 1.035 GB, free: 9.332 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.3306, allocations: 4 kB / 1.035 GB, free: 9.328 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.3307, allocations: 0 / 1.035 GB, free: 9.328 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3307, allocations: 4.031 kB / 1.035 GB, free: 9.324 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.3309, allocations: 352.9 kB / 1.035 GB, free: 8.961 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.775e-05/0.331, allocations: 77.11 kB / 1.035 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.331, allocations: 0 / 1.035 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.362e-05/0.3311, allocations: 0 / 1.035 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.028e-05/0.3311, allocations: 0 / 1.035 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.3311, allocations: 4 kB / 1.035 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.576e-05/0.3312, allocations: 155.3 kB / 1.035 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3312, allocations: 0 / 1.035 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001203/0.3324, allocations: 0.57 MB / 1.036 GB, free: 8.141 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.001999/0.3344, allocations: 0.9073 MB / 1.037 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002634/0.3347, allocations: 291.8 kB / 1.037 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3347, allocations: 0 / 1.037 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.3349, allocations: 169.6 kB / 1.037 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.335, allocations: 5.969 kB / 1.037 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.3362, allocations: 0.9261 MB / 1.038 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.3365, allocations: 0.8184 MB / 1.039 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.979e-05/0.3366, allocations: 11.62 kB / 1.039 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.429e-05/0.3366, allocations: 11.44 kB / 1.039 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.3366, allocations: 0 / 1.039 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of Templates: time 0.0194/0.356, allocations: 12.23 MB / 1.051 GB, free: 8.852 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=480 -s gbode -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