Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001785/0.001785, allocations: 104.3 kB / 16.27 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.00177/0.00177, allocations: 183.9 kB / 17.19 MB, free: 5.688 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.454/1.454, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.454/2.454, allocations: 437 MB / 0.711 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001559, allocations: 63.84 kB / 0.8699 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3552, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.002211/0.3575, allocations: 0.5795 MB / 1.019 GB, free: 10.03 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002361/0.3599, allocations: 1.605 MB / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.028e-05/0.3599, allocations: 4 kB / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.407e-05/0.36, allocations: 0 / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.881e-05/0.3601, allocations: 0 / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007763/0.3608, allocations: 203.4 kB / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.54e-05/0.3609, allocations: 19.98 kB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.361, allocations: 4 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.359e-05/0.361, allocations: 4 kB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.424e-05/0.3611, allocations: 15.86 kB / 1.02 GB, free: 8.16 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.3611, allocations: 4 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005515/0.3616, allocations: 283.5 kB / 1.021 GB, free: 7.879 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.422e-05/0.3617, allocations: 4 kB / 1.021 GB, free: 7.875 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.3617, allocations: 11.94 kB / 1.021 GB, free: 7.863 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003378/0.3621, allocations: 159.7 kB / 1.021 GB, free: 7.707 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3621, allocations: 0 / 1.021 GB, free: 7.707 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3621, allocations: 4 kB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.3621, allocations: 0 / 1.021 GB, free: 7.703 MB / 0.795 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.0004323/0.3625, allocations: 367.7 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.3626, allocations: 12.91 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008179/0.3634, allocations: 68.88 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.3636, allocations: 180.2 kB / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.3636, allocations: 384 / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.3636, allocations: 12.31 kB / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.3638, allocations: 81.91 kB / 1.022 GB, free: 6.906 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3638, allocations: 0 / 1.022 GB, free: 6.906 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.3638, allocations: 3.938 kB / 1.022 GB, free: 6.902 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.3639, allocations: 0 / 1.022 GB, free: 6.902 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002352/0.3641, allocations: 83.88 kB / 1.022 GB, free: 6.82 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002174/0.3643, allocations: 181.5 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.3645, allocations: 86.52 kB / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.512e-05/0.3646, allocations: 44.95 kB / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.3646, allocations: 0 / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.3646, allocations: 38.48 kB / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of pre-optimization done (n=5): time 1.103e-06/0.3646, allocations: 0 / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of matching and sorting (n=5): time 0.0003478/0.365, allocations: 141.6 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.365, allocations: 51.41 kB / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.754e-05/0.3651, allocations: 109.8 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.3652, allocations: 25.7 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.056e-05/0.3652, allocations: 84.14 kB / 1.022 GB, free: 5.965 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.523e-05/0.3653, allocations: 19.73 kB / 1.022 GB, free: 5.945 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/0.3653, allocations: 25.69 kB / 1.022 GB, free: 5.914 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.3654, allocations: 314.8 kB / 1.023 GB, free: 5.598 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.488e-05/0.3655, allocations: 35.97 kB / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.999e-05/0.3656, allocations: 27.97 kB / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.3657, allocations: 81.42 kB / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3657, allocations: 0 / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002134/0.366, allocations: 113.5 kB / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.366, allocations: 11.92 kB / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.366, allocations: 0 / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.366, allocations: 3.938 kB / 1.023 GB, free: 5.32 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.3662, allocations: 19.97 kB / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.902e-06/0.3662, allocations: 0 / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.3663, allocations: 8 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.3664, allocations: 3.984 kB / 1.023 GB, free: 5.289 MB / 0.795 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.712e-05/0.3664, allocations: 113.8 kB / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.3665, allocations: 11.88 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004213/0.3669, allocations: 217 kB / 1.023 GB, free: 4.938 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3669, allocations: 3.984 kB / 1.023 GB, free: 4.934 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.3669, allocations: 0 / 1.023 GB, free: 4.934 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3669, allocations: 7.922 kB / 1.023 GB, free: 4.926 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.3671, allocations: 217.5 kB / 1.023 GB, free: 4.664 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3671, allocations: 0 / 1.023 GB, free: 4.664 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.3673, allocations: 23.98 kB / 1.024 GB, free: 4.641 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.3673, allocations: 7.938 kB / 1.024 GB, free: 4.633 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.3673, allocations: 7.938 kB / 1.024 GB, free: 4.625 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3674, allocations: 0 / 1.024 GB, free: 4.625 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3674, allocations: 0 / 1.024 GB, free: 4.625 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.3676, allocations: 194.8 kB / 1.024 GB, free: 4.418 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.3677, allocations: 84.98 kB / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.3677, allocations: 7.984 kB / 1.024 GB, free: 4.309 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.09e-05/0.3678, allocations: 8 kB / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.3679, allocations: 7.984 kB / 1.024 GB, free: 4.293 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.3679, allocations: 8 kB / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.718e-05/0.3679, allocations: 83.28 kB / 1.024 GB, free: 4.203 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3679, allocations: 4 kB / 1.024 GB, free: 4.199 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003176/0.3683, allocations: 67.98 kB / 1.024 GB, free: 4.133 MB / 0.795 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.0004328/0.3687, allocations: 183.2 kB / 1.024 GB, free: 3.945 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002438/0.3689, allocations: 111.9 kB / 1.024 GB, free: 3.836 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.369, allocations: 0 / 1.024 GB, free: 3.836 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.3691, allocations: 79.89 kB / 1.024 GB, free: 3.758 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.3693, allocations: 12.88 kB / 1.024 GB, free: 3.746 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004815/0.3697, allocations: 240.7 kB / 1.025 GB, free: 3.48 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.37, allocations: 0.6924 MB / 1.025 GB, free: 2.762 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.853e-05/0.3701, allocations: 27.34 kB / 1.025 GB, free: 2.734 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.3701, allocations: 0 / 1.025 GB, free: 2.734 MB / 0.795 GB Notification: Performance of Templates: time 0.004755/0.3748, allocations: 2.268 MB / 1.027 GB, free: 484 kB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches