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.001532/0.001532, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001803/0.001803, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.879/2.879, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 64.34 kB / 0.9121 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2867, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002491/0.2893, allocations: 1.246 MB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006649/0.296, allocations: 4.493 MB / 1.074 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.635e-05/0.296, allocations: 0 / 1.074 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.574e-05/0.2961, allocations: 3.938 kB / 1.074 GB, free: 4.602 MB / 0.8262 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.004413/0.3005, allocations: 1.507 MB / 1.075 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001221/0.3006, allocations: 31.91 kB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.589e-05/0.3007, allocations: 8 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.816e-05/0.3008, allocations: 7.984 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.389e-05/0.3008, allocations: 7.984 kB / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.276e-05/0.3009, allocations: 25.22 kB / 1.075 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.301, allocations: 4 kB / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004136/0.3051, allocations: 2.204 MB / 1.078 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.3053, allocations: 145.2 kB / 1.078 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.66e-05/0.3053, allocations: 3.984 kB / 1.078 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.003889/0.3092, allocations: 1.735 MB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3092, allocations: 4 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3092, allocations: 0 / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.3092, allocations: 0 / 1.079 GB, free: 14.91 MB / 0.8419 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.001436/0.3107, allocations: 0.6203 MB / 1.08 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.3107, allocations: 8.031 kB / 1.08 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.827e-05/0.3108, allocations: 8.844 kB / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.311, allocations: 164.4 kB / 1.08 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.311, allocations: 384 / 1.08 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.311, allocations: 4.125 kB / 1.08 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.3112, allocations: 173.6 kB / 1.08 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3113, allocations: 0 / 1.08 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.3113, allocations: 3.938 kB / 1.08 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3113, allocations: 0 / 1.08 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002364/0.3115, allocations: 283.9 kB / 1.081 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003445/0.3119, allocations: 281.6 kB / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.312, allocations: 158.5 kB / 1.081 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.3122, allocations: 148.8 kB / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.3122, allocations: 8 kB / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.3122, allocations: 34.56 kB / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/0.3122, allocations: 0 / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0004743/0.3127, allocations: 449.5 kB / 1.082 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.3128, allocations: 59.39 kB / 1.082 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.3129, allocations: 165.8 kB / 1.082 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.313, allocations: 25.95 kB / 1.082 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.313, allocations: 88.14 kB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.313, allocations: 7.875 kB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.3131, allocations: 9.719 kB / 1.082 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.3132, allocations: 310.8 kB / 1.082 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.3133, allocations: 143.9 kB / 1.082 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.3134, allocations: 139.9 kB / 1.083 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.3137, allocations: 292.7 kB / 1.083 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3137, allocations: 4.062 kB / 1.083 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002666/0.314, allocations: 317.5 kB / 1.083 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.314, allocations: 4 kB / 1.083 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.314, allocations: 0 / 1.083 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.314, allocations: 0 / 1.083 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.361e-05/0.3141, allocations: 4 kB / 1.083 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.3141, allocations: 3.938 kB / 1.083 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.16e-05/0.3142, allocations: 3.984 kB / 1.083 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.3142, allocations: 0 / 1.083 GB, free: 10.84 MB / 0.8419 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.0001529/0.3144, allocations: 175.4 kB / 1.083 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.3144, allocations: 3.938 kB / 1.083 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003406/0.3148, allocations: 328.6 kB / 1.084 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3148, allocations: 0 / 1.084 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.3148, allocations: 0 / 1.084 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.3148, allocations: 0 / 1.084 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.315, allocations: 293.5 kB / 1.084 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.3151, allocations: 0 / 1.084 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.51e-07/0.3151, allocations: 0 / 1.084 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3151, allocations: 4.031 kB / 1.084 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.3151, allocations: 0 / 1.084 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3151, allocations: 0 / 1.084 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3151, allocations: 4 kB / 1.084 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.3154, allocations: 340.9 kB / 1.084 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.304e-05/0.3154, allocations: 85.05 kB / 1.084 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.278e-05/0.3155, allocations: 0 / 1.084 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.345e-05/0.3156, allocations: 0 / 1.084 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.463e-05/0.3156, allocations: 4.031 kB / 1.084 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.3157, allocations: 0 / 1.084 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.727e-05/0.3157, allocations: 155.2 kB / 1.084 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3158, allocations: 0 / 1.084 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001676/0.3174, allocations: 0.57 MB / 1.085 GB, free: 8.801 MB / 0.8419 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.003239/0.3207, allocations: 0.9283 MB / 1.086 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000287/0.321, allocations: 283.9 kB / 1.086 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.321, allocations: 4 kB / 1.086 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.3211, allocations: 165.6 kB / 1.086 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.3214, allocations: 7.938 kB / 1.086 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.3227, allocations: 0.9384 MB / 1.087 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004668/0.3232, allocations: 0.8146 MB / 1.088 GB, free: 5.699 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.39e-05/0.3232, allocations: 0 / 1.088 GB, free: 5.699 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.3233, allocations: 11.44 kB / 1.088 GB, free: 5.688 MB / 0.8419 GB Notification: Performance of SimCode: time 7.52e-07/0.3233, allocations: 0 / 1.088 GB, free: 5.688 MB / 0.8419 GB Notification: Performance of Templates: time 0.02145/0.3447, allocations: 12.23 MB / 1.1 GB, free: 9.5 MB / 0.8575 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