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 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.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.007172/0.007172, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.001644/0.001644, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.685/2.685, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 71.89 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2914, allocations: 157.4 MB / 1.208 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource): time 0.002209/0.2937, allocations: 1.314 MB / 1.209 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00187/0.2955, allocations: 1.34 MB / 1.21 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.369e-05/0.2956, allocations: 0 / 1.21 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.326e-05/0.2956, allocations: 0 / 1.21 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.2957, allocations: 19.91 kB / 1.21 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008518/0.2966, allocations: 361.9 kB / 1.211 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.228e-05/0.2967, allocations: 47.89 kB / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.569e-05/0.2967, allocations: 0 / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.519e-05/0.2968, allocations: 12 kB / 1.211 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.793e-05/0.2968, allocations: 31.89 kB / 1.211 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.2969, allocations: 7.938 kB / 1.211 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007163/0.2976, allocations: 0.5148 MB / 1.211 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.745e-05/0.2976, allocations: 11.98 kB / 1.211 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.269e-05/0.2977, allocations: 23.86 kB / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000429/0.2981, allocations: 347.3 kB / 1.212 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2981, allocations: 0 / 1.212 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2981, allocations: 0 / 1.212 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.2981, allocations: 0 / 1.212 GB, free: 5.582 MB / 0.9669 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.0004988/0.2986, allocations: 415.3 kB / 1.212 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.2987, allocations: 8.625 kB / 1.212 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003075/0.299, allocations: 28.91 kB / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.2991, allocations: 176.3 kB / 1.212 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.2991, allocations: 4.375 kB / 1.212 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.2992, allocations: 384 / 1.212 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.2993, allocations: 69.84 kB / 1.212 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.2993, allocations: 0 / 1.212 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.2993, allocations: 4 kB / 1.212 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2993, allocations: 4 kB / 1.212 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.2995, allocations: 55.94 kB / 1.212 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/0.2997, allocations: 173.7 kB / 1.213 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.2998, allocations: 66.47 kB / 1.213 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.15e-05/0.2999, allocations: 24.97 kB / 1.213 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005503/0.3004, allocations: 212.9 kB / 1.213 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.3005, allocations: 42.44 kB / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.3005, allocations: 0 / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0002611/0.3008, allocations: 97.66 kB / 1.213 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.3008, allocations: 55.41 kB / 1.213 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.161e-05/0.3009, allocations: 113.8 kB / 1.213 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.3009, allocations: 25.7 kB / 1.213 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.227e-05/0.3009, allocations: 88.14 kB / 1.213 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.301, allocations: 11.72 kB / 1.213 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.604e-05/0.301, allocations: 25.7 kB / 1.213 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.3011, allocations: 318.8 kB / 1.214 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.295e-05/0.3012, allocations: 15.98 kB / 1.214 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.883e-05/0.3012, allocations: 19.98 kB / 1.214 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.763e-05/0.3013, allocations: 56.77 kB / 1.214 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.3013, allocations: 0 / 1.214 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001363/0.3015, allocations: 77.58 kB / 1.214 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.3015, allocations: 7.938 kB / 1.214 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.3015, allocations: 0 / 1.214 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.3015, allocations: 4 kB / 1.214 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.484e-05/0.3016, allocations: 8 kB / 1.214 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.3016, allocations: 0 / 1.214 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.63e-05/0.3017, allocations: 11.94 kB / 1.214 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.3017, allocations: 7.984 kB / 1.214 GB, free: 3.156 MB / 0.9669 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 7.284e-05/0.3018, allocations: 113.8 kB / 1.214 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.865e-05/0.3018, allocations: 7.938 kB / 1.214 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004738/0.3023, allocations: 292.2 kB / 1.214 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3023, allocations: 4 kB / 1.214 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3023, allocations: 0 / 1.214 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3023, allocations: 0 / 1.214 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.3025, allocations: 177.6 kB / 1.214 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3025, allocations: 0 / 1.214 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.241e-05/0.3026, allocations: 19.98 kB / 1.214 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.3026, allocations: 15.8 kB / 1.214 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.3026, allocations: 4 kB / 1.214 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3026, allocations: 3.938 kB / 1.214 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3026, allocations: 0 / 1.214 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.3028, allocations: 105.1 kB / 1.215 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.763e-05/0.3028, allocations: 88.94 kB / 1.215 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.3028, allocations: 4 kB / 1.215 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.239e-05/0.3029, allocations: 4 kB / 1.215 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.055e-05/0.3029, allocations: 4 kB / 1.215 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.3029, allocations: 4 kB / 1.215 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.132e-05/0.303, allocations: 91.27 kB / 1.215 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.303, allocations: 4 kB / 1.215 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003311/0.3033, allocations: 104 kB / 1.215 GB, free: 2.031 MB / 0.9669 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.0004446/0.3038, allocations: 251.1 kB / 1.215 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001365/0.3039, allocations: 47.97 kB / 1.215 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3039, allocations: 0 / 1.215 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.024e-05/0.304, allocations: 27.98 kB / 1.215 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.3042, allocations: 15.92 kB / 1.215 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002967/0.3045, allocations: 166.5 kB / 1.215 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.3047, allocations: 0.6846 MB / 1.216 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000318/0.3051, allocations: 266.1 kB / 1.216 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.116e-05/0.3051, allocations: 15.44 kB / 1.216 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.3051, allocations: 0 / 1.216 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of Templates: time 0.005443/0.3106, allocations: 2.846 MB / 1.219 GB, free: 13.72 MB / 0.9825 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