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 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.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.005712/0.005713, allocations: 100.8 kB / 15.87 MB, free: 6.328 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.001269/0.001269, allocations: 195.5 kB / 16.79 MB, free: 6.254 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.425/1.425, allocations: 222.9 MB / 240.5 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.928/2.928, allocations: 461.8 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001466, allocations: 65.64 kB / 0.8991 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.346, allocations: 157.4 MB / 1.053 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint): time 0.002201/0.3482, allocations: 0.6346 MB / 1.053 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001998/0.3503, allocations: 1.33 MB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.683e-05/0.3503, allocations: 0 / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/0.3504, allocations: 0 / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.765e-06/0.3504, allocations: 0 / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005546/0.3509, allocations: 83.8 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.307e-05/0.351, allocations: 8 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.918e-05/0.351, allocations: 0 / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.055e-05/0.3511, allocations: 4 kB / 1.055 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.013e-05/0.3511, allocations: 7.969 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.3511, allocations: 3.938 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003566/0.3515, allocations: 135.7 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.3515, allocations: 7.984 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.698e-05/0.3515, allocations: 7.984 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.3517, allocations: 51.92 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3517, allocations: 0 / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3517, allocations: 0 / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5e-06/0.3517, allocations: 0 / 1.055 GB, free: 5.91 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004267/0.3522, allocations: 339.5 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.3522, allocations: 11.97 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.3524, allocations: 8.922 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.763e-05/0.3525, allocations: 160.4 kB / 1.056 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.3525, allocations: 4.375 kB / 1.056 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.3526, allocations: 8.375 kB / 1.056 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.3527, allocations: 41.94 kB / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.3527, allocations: 0 / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.3527, allocations: 8 kB / 1.056 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3527, allocations: 0 / 1.056 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.696e-05/0.3528, allocations: 7.984 kB / 1.056 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.353, allocations: 157.9 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.3532, allocations: 50.67 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.678e-05/0.3532, allocations: 28.77 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009745/0.3542, allocations: 1.478 MB / 1.057 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.3543, allocations: 42.42 kB / 1.057 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3543, allocations: 0 / 1.057 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002014/0.3545, allocations: 53.69 kB / 1.057 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.3545, allocations: 55.41 kB / 1.057 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.136e-05/0.3546, allocations: 89.86 kB / 1.057 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.3546, allocations: 29.7 kB / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.005e-05/0.3546, allocations: 80.14 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.3547, allocations: 15.8 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.3547, allocations: 13.72 kB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.3548, allocations: 314.8 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.454e-05/0.3549, allocations: 11.98 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.788e-05/0.3549, allocations: 16 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.423e-05/0.355, allocations: 24.8 kB / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.355, allocations: 0 / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.438e-05/0.3551, allocations: 57.69 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3551, allocations: 7.938 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3551, allocations: 0 / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3551, allocations: 0 / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.626e-05/0.3552, allocations: 11.98 kB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.3552, allocations: 0 / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.705e-05/0.3552, allocations: 3.906 kB / 1.058 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.3553, allocations: 11.94 kB / 1.058 GB, free: 2.227 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 7.09e-05/0.3553, allocations: 113.8 kB / 1.058 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.254e-05/0.3553, allocations: 3.938 kB / 1.058 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001555/0.3555, allocations: 69.17 kB / 1.058 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3555, allocations: 0 / 1.058 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3555, allocations: 0 / 1.058 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3555, allocations: 0 / 1.058 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.3557, allocations: 157.7 kB / 1.058 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3557, allocations: 4 kB / 1.058 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.546e-05/0.3557, allocations: 12.23 kB / 1.058 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.3558, allocations: 3.938 kB / 1.058 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.3558, allocations: 8 kB / 1.058 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.3558, allocations: 0 / 1.058 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3558, allocations: 3.938 kB / 1.058 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.356, allocations: 97.12 kB / 1.058 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.356, allocations: 88.94 kB / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.356, allocations: 12.03 kB / 1.059 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.491e-05/0.3561, allocations: 0 / 1.059 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.262e-05/0.3561, allocations: 0 / 1.059 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.3561, allocations: 7.938 kB / 1.059 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.858e-05/0.3561, allocations: 75.28 kB / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3562, allocations: 0 / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000244/0.3564, allocations: 31.98 kB / 1.059 GB, free: 1.449 MB / 0.8106 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.0003059/0.3567, allocations: 155.4 kB / 1.059 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001034/0.3568, allocations: 31.92 kB / 1.059 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3568, allocations: 0 / 1.059 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.999e-05/0.3569, allocations: 16 kB / 1.059 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.357, allocations: 7.984 kB / 1.059 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000313/0.3573, allocations: 155.2 kB / 1.059 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.3576, allocations: 0.6848 MB / 1.06 GB, free: 344 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.47e-05/0.3576, allocations: 19.44 kB / 1.06 GB, free: 324 kB / 0.8106 GB Notification: Performance of SimCode: time 3.01e-07/0.3576, allocations: 0 / 1.06 GB, free: 324 kB / 0.8106 GB Notification: Performance of Templates: time 0.003052/0.3607, allocations: 1.048 MB / 1.061 GB, free: 15.27 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/jenkins1/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