Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.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.FiniteLineSource_Erfint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|erfint|erfint_num|err",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|erfint|erfint_num|err",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 108 kB / 15.61 MB, free: 152 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.001497/0.001497, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.727/2.727, allocations: 472.7 MB / 0.7452 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 65.23 kB / 0.9121 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2763, allocations: 159.9 MB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint): time 0.001864/0.2782, allocations: 0.5751 MB / 1.069 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001845/0.28, allocations: 1.313 MB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.494e-05/0.2801, allocations: 0 / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.492e-05/0.2801, allocations: 3.938 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 1.059e-05/0.2801, allocations: 3.938 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004989/0.2806, allocations: 103.7 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.055e-05/0.2807, allocations: 4 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.2807, allocations: 0 / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.795e-05/0.2808, allocations: 8 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.813e-05/0.2808, allocations: 11.97 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.2808, allocations: 0 / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003015/0.2811, allocations: 115.8 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.267e-05/0.2811, allocations: 0 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.841e-05/0.2812, allocations: 7.938 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.2814, allocations: 75.88 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.2814, allocations: 0 / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.555e-06/0.2814, allocations: 4 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.2814, allocations: 3.938 kB / 1.07 GB, free: 8.043 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003518/0.2817, allocations: 335.6 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.2818, allocations: 12.03 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/0.2819, allocations: 8.922 kB / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.413e-05/0.282, allocations: 160.4 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.2821, allocations: 384 / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.2821, allocations: 8.312 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.2822, allocations: 42 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.2822, allocations: 0 / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.2822, allocations: 0 / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.2822, allocations: 4 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.665e-05/0.2823, allocations: 15.98 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.2825, allocations: 157.9 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.2827, allocations: 46.55 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.338e-05/0.2827, allocations: 24.91 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008899/0.2836, allocations: 1.478 MB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.2837, allocations: 42.5 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.2837, allocations: 0 / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001618/0.2838, allocations: 57.59 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.2839, allocations: 51.41 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.076e-05/0.2839, allocations: 89.86 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.284, allocations: 25.7 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.536e-05/0.284, allocations: 84.12 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.284, allocations: 11.81 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.2841, allocations: 21.72 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.2842, allocations: 318.8 kB / 1.073 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.204e-05/0.2842, allocations: 7.984 kB / 1.073 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.91e-05/0.2842, allocations: 8 kB / 1.073 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.374e-05/0.2843, allocations: 32.78 kB / 1.073 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2843, allocations: 0 / 1.073 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.526e-05/0.2844, allocations: 53.69 kB / 1.073 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.2844, allocations: 11.94 kB / 1.073 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2844, allocations: 3.938 kB / 1.073 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.2845, allocations: 4 kB / 1.073 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.835e-05/0.2845, allocations: 12.12 kB / 1.073 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.2845, allocations: 4 kB / 1.073 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.2846, allocations: 0 / 1.073 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.2846, allocations: 0 / 1.073 GB, free: 4.371 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 (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 6.899e-05/0.2846, allocations: 109.8 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.2847, allocations: 7.922 kB / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001457/0.2848, allocations: 77.36 kB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2848, allocations: 0 / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2848, allocations: 0 / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.2848, allocations: 0 / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.285, allocations: 161.7 kB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.285, allocations: 0 / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.591e-05/0.285, allocations: 15.92 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.2851, allocations: 3.938 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.2851, allocations: 0 / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2851, allocations: 0 / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2851, allocations: 4 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.2852, allocations: 105 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.326e-05/0.2853, allocations: 85.05 kB / 1.074 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.2853, allocations: 3.938 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.532e-05/0.2853, allocations: 4.031 kB / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/0.2853, allocations: 0 / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.2854, allocations: 0 / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.256e-05/0.2854, allocations: 79.28 kB / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2854, allocations: 64 / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002382/0.2856, allocations: 39.98 kB / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (erfint_num) * 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 (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 Backend phase and start with SimCode phase: time 0.0002685/0.2859, allocations: 143.7 kB / 1.074 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.6e-05/0.286, allocations: 27.98 kB / 1.074 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.286, allocations: 0 / 1.074 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.153e-05/0.2861, allocations: 24.17 kB / 1.074 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.2862, allocations: 4 kB / 1.074 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002928/0.2865, allocations: 133.5 kB / 1.074 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.2867, allocations: 0.6768 MB / 1.075 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.428e-05/0.2868, allocations: 7.906 kB / 1.075 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.218e-05/0.2868, allocations: 15.44 kB / 1.075 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2868, allocations: 3.938 kB / 1.075 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of Templates: time 0.003226/0.29, allocations: 0.8945 MB / 1.076 GB, free: 1.645 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Erfint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,erfint,erfint_num,err Variables in the result:erfint,erfint_num,err,time