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_Integrand.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.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y.1.|y.2.|y.3.|y.4.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y.1.|y.2.|y.3.|y.4.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009225/0.009225, allocations: 101.6 kB / 15.88 MB, free: 5.867 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.001774/0.001774, allocations: 191.3 kB / 16.79 MB, free: 5.809 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.484/1.484, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.764/2.764, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.53 kB / 0.8991 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3597, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.00214/0.3619, allocations: 0.6479 MB / 1.053 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002338/0.3642, allocations: 1.657 MB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.235e-05/0.3643, allocations: 0 / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.147e-05/0.3643, allocations: 4 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.168e-05/0.3644, allocations: 0 / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006489/0.365, allocations: 151.6 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.973e-05/0.3651, allocations: 23.98 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.805e-05/0.3652, allocations: 3.984 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.389e-05/0.3652, allocations: 7.938 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.117e-05/0.3652, allocations: 8 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.3653, allocations: 3.984 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005644/0.3658, allocations: 307.4 kB / 1.056 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.219e-05/0.3659, allocations: 4 kB / 1.056 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.344e-05/0.3659, allocations: 11.94 kB / 1.056 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.3662, allocations: 111.8 kB / 1.056 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3662, allocations: 0 / 1.056 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3662, allocations: 0 / 1.056 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.3662, allocations: 0 / 1.056 GB, free: 5.324 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004162/0.3666, allocations: 359.7 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3667, allocations: 15.97 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008571/0.3675, allocations: 72.86 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.3677, allocations: 168.4 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.3677, allocations: 384 / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.3677, allocations: 384 / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.3679, allocations: 85.91 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.3679, allocations: 0 / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.3679, allocations: 4 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.368, allocations: 7.938 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002389/0.3682, allocations: 87.81 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002234/0.3684, allocations: 181.6 kB / 1.057 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.3686, allocations: 82.52 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.363e-05/0.3687, allocations: 36.95 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.3687, allocations: 7.984 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.3687, allocations: 42.48 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.3687, allocations: 0 / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0003466/0.3691, allocations: 141.5 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.3691, allocations: 51.41 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.891e-05/0.3692, allocations: 110 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.3693, allocations: 25.7 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/0.3693, allocations: 84.14 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.561e-05/0.3694, allocations: 19.73 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-05/0.3694, allocations: 25.69 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.856e-05/0.3695, allocations: 318.8 kB / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.478e-05/0.3696, allocations: 32.22 kB / 1.058 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.165e-05/0.3697, allocations: 35.97 kB / 1.058 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.3698, allocations: 76.73 kB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3698, allocations: 0 / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000206/0.37, allocations: 109.5 kB / 1.058 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.3701, allocations: 11.94 kB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.3701, allocations: 3.984 kB / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3701, allocations: 0 / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.3703, allocations: 23.97 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3703, allocations: 0 / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.3704, allocations: 4 kB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.3704, allocations: 7.984 kB / 1.058 GB, free: 2.914 MB / 0.8106 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 (5): * Single equations (assignments): 5 * 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.914e-05/0.3705, allocations: 109.8 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.191e-05/0.3706, allocations: 3.938 kB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004113/0.371, allocations: 221.1 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.371, allocations: 4 kB / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.371, allocations: 0 / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.371, allocations: 3.984 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.3712, allocations: 217.5 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3712, allocations: 4 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.3714, allocations: 27.98 kB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.3714, allocations: 3.938 kB / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.3714, allocations: 11.94 kB / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3714, allocations: 0 / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3714, allocations: 0 / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.3717, allocations: 182.4 kB / 1.059 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.239e-05/0.3718, allocations: 96.83 kB / 1.059 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.3718, allocations: 4 kB / 1.059 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.819e-05/0.3719, allocations: 7.984 kB / 1.059 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.3719, allocations: 11.98 kB / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.3719, allocations: 8 kB / 1.059 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.986e-05/0.372, allocations: 83.28 kB / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.372, allocations: 0 / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003203/0.3723, allocations: 63.98 kB / 1.059 GB, free: 1.773 MB / 0.8106 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 (16): * Single equations (assignments): 16 * 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.0004187/0.3727, allocations: 188.1 kB / 1.059 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.373, allocations: 99.92 kB / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.373, allocations: 0 / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.3731, allocations: 86.58 kB / 1.059 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.3733, allocations: 7.938 kB / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/0.3737, allocations: 260.2 kB / 1.059 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.374, allocations: 0.6926 MB / 1.06 GB, free: 392 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.641e-05/0.3741, allocations: 23.42 kB / 1.06 GB, free: 368 kB / 0.8106 GB Notification: Performance of SimCode: time 3.71e-07/0.3741, allocations: 7.938 kB / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of Templates: time 0.00495/0.3791, allocations: 2.253 MB / 1.062 GB, free: 14.11 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches