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.001421/0.001421, allocations: 98.56 kB / 16.02 MB, free: 76 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.002231/0.002231, allocations: 187.1 kB / 16.92 MB, free: 6.75 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.649/1.649, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.866/2.866, allocations: 462.6 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004122/0.0004122, allocations: 11.06 kB / 0.9035 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.371, allocations: 159.6 MB / 1.059 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001511/0.3726, allocations: 0.9925 MB / 1.06 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.007386/0.38, allocations: 4.668 MB / 1.065 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.952e-05/0.38, allocations: 3.938 kB / 1.065 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.596e-05/0.3801, allocations: 0 / 1.065 GB, free: 15.22 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‘. Notification: Performance of NFTyping.typeBindings: time 0.003621/0.3837, allocations: 1.193 MB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 9.172e-05/0.3838, allocations: 27.97 kB / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.913e-05/0.3839, allocations: 31.97 kB / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.956e-05/0.384, allocations: 4 kB / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.165e-05/0.384, allocations: 4 kB / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.3841, allocations: 74.42 kB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.518e-06/0.3841, allocations: 0 / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003602/0.3877, allocations: 2.239 MB / 1.068 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.3879, allocations: 153.2 kB / 1.069 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.221e-05/0.388, allocations: 54.98 kB / 1.069 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001996/0.39, allocations: 1.299 MB / 1.07 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.39, allocations: 0 / 1.07 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.874e-06/0.39, allocations: 0 / 1.07 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.39, allocations: 0 / 1.07 GB, free: 10.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.0009191/0.391, allocations: 0.6164 MB / 1.07 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.391, allocations: 15.97 kB / 1.07 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.3911, allocations: 4.922 kB / 1.07 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.3912, allocations: 164.4 kB / 1.071 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.3912, allocations: 384 / 1.071 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.3912, allocations: 8.125 kB / 1.071 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.3915, allocations: 169.6 kB / 1.071 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.3915, allocations: 0 / 1.071 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.3915, allocations: 4 kB / 1.071 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3915, allocations: 0 / 1.071 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002258/0.3917, allocations: 283.9 kB / 1.071 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000305/0.392, allocations: 289.7 kB / 1.071 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.3922, allocations: 158.5 kB / 1.071 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.3923, allocations: 152.8 kB / 1.072 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.3923, allocations: 0 / 1.072 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.3924, allocations: 34.56 kB / 1.072 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.3924, allocations: 0 / 1.072 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0004453/0.3928, allocations: 457.5 kB / 1.072 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.3929, allocations: 55.34 kB / 1.072 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.393, allocations: 165.8 kB / 1.072 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.393, allocations: 29.7 kB / 1.072 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.4e-05/0.3931, allocations: 80.14 kB / 1.072 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.3931, allocations: 4.156 kB / 1.072 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-05/0.3931, allocations: 13.72 kB / 1.072 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.3933, allocations: 310.8 kB / 1.073 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.3934, allocations: 143.9 kB / 1.073 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.3935, allocations: 139.9 kB / 1.073 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.3937, allocations: 284.8 kB / 1.073 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3937, allocations: 0 / 1.073 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002574/0.394, allocations: 325.5 kB / 1.074 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.394, allocations: 8.094 kB / 1.074 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.394, allocations: 0 / 1.074 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.3941, allocations: 0 / 1.074 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.326e-05/0.3941, allocations: 4 kB / 1.074 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3941, allocations: 0 / 1.074 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.415e-05/0.3942, allocations: 0 / 1.074 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.3942, allocations: 3.984 kB / 1.074 GB, free: 6.055 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.0001175/0.3943, allocations: 165.8 kB / 1.074 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-06/0.3944, allocations: 7.938 kB / 1.074 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003018/0.3947, allocations: 324.7 kB / 1.074 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3947, allocations: 0 / 1.074 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3947, allocations: 0 / 1.074 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3947, allocations: 3.938 kB / 1.074 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.395, allocations: 289.6 kB / 1.074 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.395, allocations: 0 / 1.074 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.364e-06/0.395, allocations: 0 / 1.074 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.395, allocations: 3.938 kB / 1.074 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.395, allocations: 0 / 1.074 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.395, allocations: 0 / 1.074 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.395, allocations: 8.031 kB / 1.074 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.3953, allocations: 344.9 kB / 1.075 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-05/0.3953, allocations: 81.11 kB / 1.075 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.991e-05/0.3954, allocations: 3.984 kB / 1.075 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.039e-05/0.3955, allocations: 0 / 1.075 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.25e-05/0.3955, allocations: 0 / 1.075 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.3955, allocations: 3.938 kB / 1.075 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.988e-05/0.3956, allocations: 159.3 kB / 1.075 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3956, allocations: 0 / 1.075 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001401/0.397, allocations: 0.5739 MB / 1.075 GB, free: 4.016 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.002307/0.3993, allocations: 0.9103 MB / 1.076 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003006/0.3996, allocations: 287.8 kB / 1.077 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.3997, allocations: 4.062 kB / 1.077 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.3998, allocations: 169.7 kB / 1.077 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.4, allocations: 6.75 kB / 1.077 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000456/0.4005, allocations: 320.3 kB / 1.077 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.4008, allocations: 0.6692 MB / 1.078 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.589e-05/0.4008, allocations: 15.42 kB / 1.078 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.4008, allocations: 0 / 1.078 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of Templates: time 0.02071/0.4215, allocations: 12.05 MB / 1.09 GB, free: 5.629 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