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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001498/0.001499, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00192/0.00192, allocations: 195.4 kB / 16.14 MB, free: 6.719 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.33/1.33, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.605/2.605, allocations: 461.9 MB / 0.7342 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 70.61 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2652, allocations: 157.4 MB / 1.052 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002114/0.2674, allocations: 1.318 MB / 1.053 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00639/0.2738, allocations: 4.79 MB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.543e-05/0.2738, allocations: 0 / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.339e-05/0.2739, allocations: 7.938 kB / 1.058 GB, free: 2.676 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.00272/0.2766, allocations: 1.181 MB / 1.059 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.096e-05/0.2767, allocations: 27.91 kB / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.722e-05/0.2768, allocations: 31.97 kB / 1.059 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.52e-05/0.2768, allocations: 0 / 1.059 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.207e-05/0.2768, allocations: 11.92 kB / 1.059 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.141e-05/0.2769, allocations: 62.56 kB / 1.059 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.478e-06/0.2769, allocations: 0 / 1.059 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002824/0.2798, allocations: 2.246 MB / 1.062 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.2799, allocations: 153.2 kB / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.871e-05/0.28, allocations: 29.28 kB / 1.062 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002099/0.2821, allocations: 1.802 MB / 1.064 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2821, allocations: 8 kB / 1.064 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.51e-07/0.2821, allocations: 0 / 1.064 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.995e-06/0.2821, allocations: 0 / 1.064 GB, free: 13.12 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.0007447/0.2829, allocations: 0.6164 MB / 1.064 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.2829, allocations: 11.97 kB / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.2829, allocations: 4.938 kB / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.2831, allocations: 164.4 kB / 1.064 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.2831, allocations: 384 / 1.064 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-06/0.2831, allocations: 4.125 kB / 1.064 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.2833, allocations: 173.6 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.2833, allocations: 0 / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.2833, allocations: 0 / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.2833, allocations: 0 / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001956/0.2835, allocations: 283.9 kB / 1.065 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002567/0.2838, allocations: 285.6 kB / 1.065 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.2839, allocations: 158.5 kB / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.284, allocations: 148.8 kB / 1.065 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.229e-06/0.284, allocations: 4 kB / 1.065 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.284, allocations: 38.56 kB / 1.065 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 2.184e-06/0.284, allocations: 3.984 kB / 1.065 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0003741/0.2844, allocations: 449.5 kB / 1.066 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.2845, allocations: 55.34 kB / 1.066 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.2846, allocations: 169.8 kB / 1.066 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.2846, allocations: 25.95 kB / 1.066 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.666e-05/0.2846, allocations: 88.08 kB / 1.066 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.2847, allocations: 7.906 kB / 1.066 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.458e-05/0.2847, allocations: 9.719 kB / 1.066 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.798e-05/0.2848, allocations: 310.8 kB / 1.066 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.2849, allocations: 143.9 kB / 1.067 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.433e-05/0.285, allocations: 139.9 kB / 1.067 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.2852, allocations: 288.8 kB / 1.067 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2852, allocations: 8 kB / 1.067 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002308/0.2854, allocations: 317.5 kB / 1.067 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.2855, allocations: 9.188 kB / 1.067 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.2855, allocations: 0 / 1.067 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.2855, allocations: 0 / 1.067 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.944e-05/0.2855, allocations: 4 kB / 1.067 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.2855, allocations: 0 / 1.067 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.021e-05/0.2856, allocations: 7.984 kB / 1.067 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.2856, allocations: 0 / 1.067 GB, free: 9.043 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 9.829e-05/0.2857, allocations: 173.8 kB / 1.067 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.047e-05/0.2858, allocations: 3.938 kB / 1.067 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.286, allocations: 320.7 kB / 1.068 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.2861, allocations: 0 / 1.068 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2861, allocations: 0 / 1.068 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.2861, allocations: 0 / 1.068 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.2863, allocations: 289.6 kB / 1.068 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.2863, allocations: 0 / 1.068 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.2863, allocations: 0 / 1.068 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.2863, allocations: 4.031 kB / 1.068 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.2863, allocations: 3.938 kB / 1.068 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2863, allocations: 0 / 1.068 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2863, allocations: 0 / 1.068 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.2866, allocations: 345 kB / 1.068 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.853e-05/0.2866, allocations: 77.11 kB / 1.068 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.125e-05/0.2867, allocations: 7.984 kB / 1.068 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.456e-05/0.2868, allocations: 0 / 1.068 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.558e-06/0.2868, allocations: 4.031 kB / 1.068 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.2868, allocations: 0 / 1.068 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.425e-05/0.2869, allocations: 155.2 kB / 1.069 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2869, allocations: 0 / 1.069 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001056/0.2879, allocations: 0.5778 MB / 1.069 GB, free: 7.012 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.002128/0.2901, allocations: 0.9302 MB / 1.07 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002455/0.2903, allocations: 287.8 kB / 1.07 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2904, allocations: 0 / 1.07 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.2905, allocations: 169.6 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.0002107/0.2907, allocations: 4.641 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.001066/0.2918, allocations: 1.006 MB / 1.072 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.2921, allocations: 0.8187 MB / 1.072 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.143e-05/0.2921, allocations: 4 kB / 1.072 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.072e-05/0.2922, allocations: 11.44 kB / 1.072 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2922, allocations: 0 / 1.072 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of Templates: time 0.01768/0.3099, allocations: 12.12 MB / 1.084 GB, free: 7.742 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/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