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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.00883/0.008831, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.0018/0.001801, allocations: 192.7 kB / 16.79 MB, free: 5.809 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.45/1.45, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.759/2.759, allocations: 461.9 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 67.16 kB / 0.8991 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3894, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002696/0.3922, allocations: 1.312 MB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.007502/0.3997, allocations: 4.781 MB / 1.059 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.612e-05/0.3998, allocations: 0 / 1.059 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.179e-05/0.3999, allocations: 3.938 kB / 1.059 GB, free: 2.172 MB / 0.8106 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‘. Notification: Performance of NFTyping.typeBindings: time 0.004344/0.4043, allocations: 1.181 MB / 1.06 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.472e-05/0.4044, allocations: 27.91 kB / 1.06 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.529e-05/0.4045, allocations: 27.97 kB / 1.06 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.279e-05/0.4045, allocations: 11.98 kB / 1.06 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.024e-05/0.4046, allocations: 7.938 kB / 1.06 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.4047, allocations: 66.5 kB / 1.06 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.4047, allocations: 0 / 1.06 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004401/0.4091, allocations: 2.246 MB / 1.062 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.4093, allocations: 149.2 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.225e-05/0.4094, allocations: 25.28 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002874/0.4122, allocations: 1.303 MB / 1.064 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4123, allocations: 0 / 1.064 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4123, allocations: 0 / 1.064 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.4123, allocations: 0 / 1.064 GB, free: 13.13 MB / 0.8262 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.001392/0.4137, allocations: 0.6203 MB / 1.064 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.4137, allocations: 15.97 kB / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.252e-05/0.4138, allocations: 8.875 kB / 1.064 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.414, allocations: 164.4 kB / 1.064 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.414, allocations: 384 / 1.064 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.414, allocations: 8.125 kB / 1.064 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.4142, allocations: 169.6 kB / 1.065 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.4143, allocations: 0 / 1.065 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.4143, allocations: 0 / 1.065 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4143, allocations: 3.938 kB / 1.065 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002263/0.4145, allocations: 287.9 kB / 1.065 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003309/0.4149, allocations: 289.7 kB / 1.065 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.415, allocations: 158.5 kB / 1.065 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.4152, allocations: 152.8 kB / 1.065 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.739e-06/0.4152, allocations: 0 / 1.065 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.4152, allocations: 30.56 kB / 1.066 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.533e-06/0.4152, allocations: 4 kB / 1.066 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0004475/0.4157, allocations: 449.5 kB / 1.066 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.4157, allocations: 55.34 kB / 1.066 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.4159, allocations: 169.8 kB / 1.066 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.4159, allocations: 25.7 kB / 1.066 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.834e-05/0.4159, allocations: 80.14 kB / 1.066 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.416, allocations: 7.891 kB / 1.066 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.416, allocations: 17.97 kB / 1.066 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.4162, allocations: 318.8 kB / 1.067 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.4163, allocations: 139.9 kB / 1.067 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.4164, allocations: 136 kB / 1.067 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.4166, allocations: 288.7 kB / 1.067 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.4166, allocations: 0 / 1.067 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002814/0.4169, allocations: 317.5 kB / 1.067 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.4169, allocations: 4 kB / 1.067 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4169, allocations: 4.031 kB / 1.067 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.417, allocations: 8 kB / 1.067 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.367e-05/0.417, allocations: 0 / 1.067 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.4171, allocations: 0 / 1.067 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.335e-05/0.4171, allocations: 3.938 kB / 1.067 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.4172, allocations: 0 / 1.067 GB, free: 9.039 MB / 0.8262 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.0001307/0.4173, allocations: 175.8 kB / 1.068 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.4173, allocations: 3.938 kB / 1.068 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002928/0.4176, allocations: 316.7 kB / 1.068 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.4176, allocations: 4.031 kB / 1.068 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.4176, allocations: 0 / 1.068 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4176, allocations: 0 / 1.068 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.4179, allocations: 293.6 kB / 1.068 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.218e-06/0.4179, allocations: 3.984 kB / 1.068 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.4179, allocations: 0 / 1.068 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.4179, allocations: 0 / 1.068 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.4179, allocations: 8 kB / 1.068 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4179, allocations: 3.938 kB / 1.068 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4179, allocations: 0 / 1.068 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.4182, allocations: 341 kB / 1.069 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-05/0.4183, allocations: 85.05 kB / 1.069 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.839e-05/0.4184, allocations: 0 / 1.069 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.719e-05/0.4184, allocations: 0 / 1.069 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.883e-05/0.4185, allocations: 0 / 1.069 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.4185, allocations: 4 kB / 1.069 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.03e-05/0.4186, allocations: 147.2 kB / 1.069 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4186, allocations: 4.125 kB / 1.069 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001629/0.4202, allocations: 0.5739 MB / 1.069 GB, free: 7.008 MB / 0.8262 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.003301/0.4235, allocations: 0.9236 MB / 1.07 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002982/0.4238, allocations: 287.8 kB / 1.071 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4238, allocations: 0 / 1.071 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.424, allocations: 173.7 kB / 1.071 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.4242, allocations: 6.188 kB / 1.071 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000531/0.4248, allocations: 317.4 kB / 1.071 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.425, allocations: 0.6731 MB / 1.072 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.4251, allocations: 15.42 kB / 1.072 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.4251, allocations: 0 / 1.072 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of Templates: time 0.02317/0.4482, allocations: 12.1 MB / 1.083 GB, free: 8.562 MB / 0.8419 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/jenkins1/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