Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.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.ThermalResponseFactors.Validation.CylindricalHeatSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|G.1.|G.2.|G.3.|G.4.|G.5.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|G.1.|G.2.|G.3.|G.4.|G.5.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 108 kB / 15.6 MB, free: 132 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.001684/0.001685, allocations: 198.1 kB / 16.54 MB, free: 6.672 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.4/1.4, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.804/2.804, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001205, allocations: 59.98 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3007, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource): time 0.002539/0.3032, allocations: 1.308 MB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00205/0.3053, allocations: 1.345 MB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.518e-05/0.3053, allocations: 0 / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.799e-05/0.3054, allocations: 7.984 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.3055, allocations: 7.938 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.3065, allocations: 362.9 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.164e-05/0.3066, allocations: 39.91 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.614e-05/0.3067, allocations: 4 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.089e-05/0.3067, allocations: 23.97 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.837e-05/0.3068, allocations: 19.92 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.3068, allocations: 0 / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007775/0.3076, allocations: 0.5187 MB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.435e-05/0.3076, allocations: 19.97 kB / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.764e-05/0.3077, allocations: 15.88 kB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005479/0.3082, allocations: 347.6 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3083, allocations: 0 / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3083, allocations: 0 / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.3083, allocations: 4 kB / 1.072 GB, free: 6.387 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005263/0.3088, allocations: 411.4 kB / 1.073 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.3088, allocations: 12.03 kB / 1.073 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003284/0.3092, allocations: 36.81 kB / 1.073 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.3093, allocations: 172.2 kB / 1.073 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.3094, allocations: 384 / 1.073 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.3094, allocations: 4.375 kB / 1.073 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.3095, allocations: 65.91 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.3095, allocations: 0 / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.3096, allocations: 8 kB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.3096, allocations: 0 / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001868/0.3098, allocations: 55.94 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/0.31, allocations: 173.6 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.3101, allocations: 62.55 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.182e-05/0.3101, allocations: 24.97 kB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005554/0.3107, allocations: 209 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.3107, allocations: 34.5 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 2.414e-06/0.3108, allocations: 7.984 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0002653/0.311, allocations: 97.59 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.3111, allocations: 55.41 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.382e-05/0.3112, allocations: 113.8 kB / 1.074 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.3112, allocations: 33.64 kB / 1.074 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.3112, allocations: 88.11 kB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.3113, allocations: 19.72 kB / 1.074 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.723e-05/0.3113, allocations: 21.72 kB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.3114, allocations: 314.8 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.671e-05/0.3115, allocations: 23.98 kB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.317e-05/0.3115, allocations: 19.98 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.3117, allocations: 45.22 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3117, allocations: 0 / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001476/0.3118, allocations: 77.61 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.3118, allocations: 11.94 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3118, allocations: 0 / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.3119, allocations: 0 / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.312, allocations: 19.98 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.312, allocations: 0 / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.491e-05/0.312, allocations: 7.906 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.3121, allocations: 4 kB / 1.074 GB, free: 3.961 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 (6): * Single equations (assignments): 6 * 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 8.571e-05/0.3121, allocations: 121.8 kB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.3122, allocations: 3.938 kB / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005222/0.3127, allocations: 284.8 kB / 1.075 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3127, allocations: 3.938 kB / 1.075 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3127, allocations: 0 / 1.075 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.3127, allocations: 0 / 1.075 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.3129, allocations: 177.5 kB / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3129, allocations: 4 kB / 1.075 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.619e-05/0.313, allocations: 20.06 kB / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.313, allocations: 3.938 kB / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.313, allocations: 4 kB / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.313, allocations: 0 / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.313, allocations: 0 / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.3132, allocations: 113 kB / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.289e-05/0.3133, allocations: 92.94 kB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.3133, allocations: 4 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.631e-05/0.3133, allocations: 4 kB / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.3134, allocations: 7.984 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.3134, allocations: 4 kB / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.672e-05/0.3134, allocations: 91.27 kB / 1.075 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3134, allocations: 0 / 1.075 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003705/0.3138, allocations: 112 kB / 1.075 GB, free: 2.832 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 (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0005394/0.3144, allocations: 227.7 kB / 1.075 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001722/0.3145, allocations: 59.91 kB / 1.076 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3146, allocations: 0 / 1.076 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.962e-05/0.3146, allocations: 39.89 kB / 1.076 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.3148, allocations: 9.719 kB / 1.076 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003665/0.3152, allocations: 167.4 kB / 1.076 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.3155, allocations: 0.6884 MB / 1.076 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003881/0.3158, allocations: 269.9 kB / 1.077 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.64e-05/0.3159, allocations: 19.38 kB / 1.077 GB, free: 1.316 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.3159, allocations: 4 kB / 1.077 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of Templates: time 0.006008/0.3219, allocations: 2.824 MB / 1.079 GB, free: 14.55 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches