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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Erfint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Erfint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005245/0.005245, allocations: 96.7 kB / 15.73 MB, free: 6.043 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.001417/0.001417, allocations: 200.8 kB / 16.68 MB, free: 5.969 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.666/2.666, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 67.89 kB / 1.083 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2895, allocations: 162.3 MB / 1.242 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint): time 0.001627/0.2912, allocations: 0.5836 MB / 1.242 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001679/0.2929, allocations: 1.299 MB / 1.244 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.478e-05/0.2929, allocations: 3.938 kB / 1.244 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.12e-05/0.2929, allocations: 7.938 kB / 1.244 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.181e-06/0.2929, allocations: 0 / 1.244 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004698/0.2934, allocations: 103.6 kB / 1.244 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.011e-05/0.2935, allocations: 7.984 kB / 1.244 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.213e-05/0.2935, allocations: 4 kB / 1.244 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.616e-05/0.2935, allocations: 4 kB / 1.244 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.088e-05/0.2935, allocations: 4 kB / 1.244 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.754e-06/0.2936, allocations: 4 kB / 1.244 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002771/0.2938, allocations: 123.8 kB / 1.244 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.2939, allocations: 3.938 kB / 1.244 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.348e-05/0.2939, allocations: 0 / 1.244 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.2941, allocations: 79.77 kB / 1.244 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2941, allocations: 3.938 kB / 1.244 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.173e-06/0.2941, allocations: 0 / 1.244 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.576e-06/0.2941, allocations: 0 / 1.244 GB, free: 7.5 MB / 0.9981 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.0003551/0.2944, allocations: 335.4 kB / 1.244 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.2945, allocations: 12.03 kB / 1.244 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.238e-05/0.2945, allocations: 30.75 kB / 1.244 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.2947, allocations: 16.88 kB / 1.244 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.2948, allocations: 164.3 kB / 1.245 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.2948, allocations: 384 / 1.245 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.2948, allocations: 4.375 kB / 1.245 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.2949, allocations: 45.75 kB / 1.245 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.2949, allocations: 0 / 1.245 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.2949, allocations: 4 kB / 1.245 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.295, allocations: 4 kB / 1.245 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.291e-05/0.295, allocations: 11.98 kB / 1.245 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001717/0.2952, allocations: 157.7 kB / 1.245 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.2954, allocations: 42.62 kB / 1.245 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.726e-05/0.2954, allocations: 16.86 kB / 1.245 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00106/0.2965, allocations: 1.485 MB / 1.246 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.2965, allocations: 38.44 kB / 1.246 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2965, allocations: 0 / 1.246 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001655/0.2967, allocations: 61.67 kB / 1.246 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.2967, allocations: 51.41 kB / 1.246 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.246e-05/0.2968, allocations: 89.86 kB / 1.247 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.2968, allocations: 25.7 kB / 1.247 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.501e-05/0.2968, allocations: 80.14 kB / 1.247 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.2969, allocations: 15.91 kB / 1.247 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.2969, allocations: 21.7 kB / 1.247 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.2971, allocations: 314.8 kB / 1.247 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.304e-05/0.2971, allocations: 7.938 kB / 1.247 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.973e-05/0.2972, allocations: 11.98 kB / 1.247 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.281e-05/0.2972, allocations: 32.92 kB / 1.247 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2972, allocations: 3.938 kB / 1.247 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.104e-05/0.2973, allocations: 53.88 kB / 1.247 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.2974, allocations: 9.344 kB / 1.247 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2974, allocations: 4 kB / 1.247 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.2974, allocations: 7.984 kB / 1.247 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.143e-05/0.2974, allocations: 7.984 kB / 1.247 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.2975, allocations: 0 / 1.247 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.998e-05/0.2975, allocations: 4 kB / 1.247 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.2975, allocations: 0 / 1.247 GB, free: 3.781 MB / 0.9981 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.458e-05/0.2976, allocations: 113.8 kB / 1.247 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.2976, allocations: 11.89 kB / 1.247 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.2978, allocations: 73.17 kB / 1.247 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.2978, allocations: 0 / 1.247 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2978, allocations: 0 / 1.247 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2978, allocations: 0 / 1.247 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.2979, allocations: 161.6 kB / 1.247 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2979, allocations: 0 / 1.247 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.655e-05/0.298, allocations: 8 kB / 1.248 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.298, allocations: 3.938 kB / 1.248 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.298, allocations: 3.984 kB / 1.248 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.298, allocations: 0 / 1.248 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.298, allocations: 3.938 kB / 1.248 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.2982, allocations: 109.2 kB / 1.248 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.2982, allocations: 85 kB / 1.248 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.2983, allocations: 3.984 kB / 1.248 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.154e-05/0.2983, allocations: 0 / 1.248 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.187e-05/0.2983, allocations: 4.031 kB / 1.248 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.2983, allocations: 0 / 1.248 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.922e-05/0.2984, allocations: 75.28 kB / 1.248 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2984, allocations: 4.062 kB / 1.248 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002152/0.2986, allocations: 31.94 kB / 1.248 GB, free: 2.996 MB / 0.9981 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.0005995/0.2992, allocations: 0.6948 MB / 1.248 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.371e-05/0.2993, allocations: 23.98 kB / 1.249 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2993, allocations: 8 kB / 1.249 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.019e-05/0.2993, allocations: 19.94 kB / 1.249 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/0.2995, allocations: 8 kB / 1.249 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009727/0.3005, allocations: 1.137 MB / 1.25 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.3008, allocations: 0.6729 MB / 1.25 GB, free: 300 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.519e-05/0.3008, allocations: 12.22 kB / 1.25 GB, free: 288 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.114e-05/0.3008, allocations: 17.33 kB / 1.25 GB, free: 272 kB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/0.3008, allocations: 0 / 1.25 GB, free: 272 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.556/1.857, allocations: 1.836 MB / 1.252 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/14.41, allocations: 15.7 kB / 1.252 GB, free: 14.46 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Erfint_fmu --startTime=0 --stopTime=15 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Erfint.fmu > 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:der(erfint_num),erfint,erfint_num,err,time,u