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.001609/0.001609, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.002412/0.002412, allocations: 201.4 kB / 16.14 MB, free: 6.793 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.535/1.535, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.732/2.732, allocations: 472.7 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 62.09 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.276, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002178/0.2782, allocations: 1.318 MB / 1.069 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006581/0.2848, allocations: 4.783 MB / 1.074 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.903e-05/0.2849, allocations: 0 / 1.074 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.177e-05/0.2849, allocations: 0 / 1.074 GB, free: 4.699 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.003129/0.2881, allocations: 1.193 MB / 1.075 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.928e-05/0.2882, allocations: 19.92 kB / 1.075 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.185e-05/0.2882, allocations: 35.97 kB / 1.075 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.026e-05/0.2883, allocations: 0 / 1.075 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.137e-05/0.2883, allocations: 7.984 kB / 1.075 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.176e-05/0.2884, allocations: 70.48 kB / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.2884, allocations: 0 / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00308/0.2915, allocations: 2.25 MB / 1.077 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.2916, allocations: 149.2 kB / 1.077 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.892e-05/0.2917, allocations: 29.28 kB / 1.077 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002506/0.2942, allocations: 1.798 MB / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2942, allocations: 4 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.41e-07/0.2943, allocations: 0 / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.2943, allocations: 0 / 1.079 GB, free: 15.14 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.0008293/0.2951, allocations: 0.6165 MB / 1.08 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.2951, allocations: 11.97 kB / 1.08 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.2952, allocations: 8.938 kB / 1.08 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.2953, allocations: 164.4 kB / 1.08 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.2953, allocations: 384 / 1.08 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/0.2953, allocations: 4.125 kB / 1.08 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.2955, allocations: 177.6 kB / 1.08 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.35e-06/0.2955, allocations: 0 / 1.08 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.2955, allocations: 0 / 1.08 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.2955, allocations: 0 / 1.08 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.2957, allocations: 283.9 kB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002543/0.296, allocations: 285.6 kB / 1.08 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.2961, allocations: 158.6 kB / 1.081 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.2962, allocations: 152.8 kB / 1.081 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/0.2962, allocations: 7.875 kB / 1.081 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.2963, allocations: 34.56 kB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.2963, allocations: 4 kB / 1.081 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0003785/0.2967, allocations: 453.4 kB / 1.081 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.2967, allocations: 51.41 kB / 1.081 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.2968, allocations: 169.8 kB / 1.081 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.2968, allocations: 25.7 kB / 1.081 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 2.704e-05/0.2969, allocations: 80.14 kB / 1.082 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.2969, allocations: 4 kB / 1.082 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.73e-05/0.2969, allocations: 9.969 kB / 1.082 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.868e-05/0.297, allocations: 314.8 kB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.816e-05/0.2971, allocations: 143.9 kB / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.269e-05/0.2972, allocations: 147.9 kB / 1.082 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.2974, allocations: 284.8 kB / 1.082 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2974, allocations: 0 / 1.082 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002262/0.2977, allocations: 317.5 kB / 1.083 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.2977, allocations: 4 kB / 1.083 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2977, allocations: 4.094 kB / 1.083 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.2977, allocations: 0 / 1.083 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.463e-05/0.2978, allocations: 4 kB / 1.083 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.2978, allocations: 0 / 1.083 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.416e-05/0.2979, allocations: 0 / 1.083 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.2979, allocations: 3.984 kB / 1.083 GB, free: 11.07 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.000122/0.298, allocations: 179.4 kB / 1.083 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.298, allocations: 7.922 kB / 1.083 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002694/0.2983, allocations: 324.7 kB / 1.083 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2983, allocations: 0 / 1.083 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.2983, allocations: 0 / 1.083 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.2983, allocations: 0 / 1.083 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.2985, allocations: 289.6 kB / 1.083 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.2986, allocations: 0 / 1.083 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.2986, allocations: 0 / 1.083 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.2986, allocations: 0 / 1.083 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.2986, allocations: 4 kB / 1.084 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2986, allocations: 0 / 1.084 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2986, allocations: 0 / 1.084 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.2988, allocations: 348.9 kB / 1.084 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 2.837e-05/0.2989, allocations: 77.11 kB / 1.084 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.995e-05/0.2989, allocations: 4 kB / 1.084 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.398e-05/0.299, allocations: 3.984 kB / 1.084 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.061e-05/0.299, allocations: 0 / 1.084 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.299, allocations: 0 / 1.084 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.305e-05/0.2991, allocations: 159.2 kB / 1.084 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2991, allocations: 4.125 kB / 1.084 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00116/0.3003, allocations: 0.5739 MB / 1.085 GB, free: 9.02 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.002223/0.3025, allocations: 0.9233 MB / 1.086 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002372/0.3028, allocations: 283.9 kB / 1.086 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3028, allocations: 0 / 1.086 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.3029, allocations: 177.6 kB / 1.086 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.3031, allocations: 10.59 kB / 1.086 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.3042, allocations: 1.011 MB / 1.087 GB, free: 6.68 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.3045, allocations: 0.8226 MB / 1.088 GB, free: 5.832 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.201e-05/0.3045, allocations: 4 kB / 1.088 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.154e-05/0.3046, allocations: 11.44 kB / 1.088 GB, free: 5.816 MB / 0.8419 GB Notification: Performance of SimCode: time 4.01e-07/0.3046, allocations: 0 / 1.088 GB, free: 5.816 MB / 0.8419 GB Notification: Performance of Templates: time 0.01807/0.3227, allocations: 12.11 MB / 1.1 GB, free: 9.75 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