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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.005904/0.005904, allocations: 100.4 kB / 15.73 MB, free: 6.031 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.001446/0.001446, allocations: 193.2 kB / 16.67 MB, free: 5.965 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.582/2.582, allocations: 461.9 MB / 0.7348 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 60.09 kB / 1.054 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3344, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint): time 0.002071/0.3365, allocations: 0.5871 MB / 1.208 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001945/0.3385, allocations: 1.311 MB / 1.209 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.419e-05/0.3385, allocations: 0 / 1.209 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.383e-05/0.3386, allocations: 0 / 1.209 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.775e-06/0.3386, allocations: 0 / 1.209 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005931/0.3392, allocations: 99.72 kB / 1.209 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.453e-05/0.3393, allocations: 15.91 kB / 1.209 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.606e-05/0.3393, allocations: 0 / 1.209 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.465e-05/0.3394, allocations: 8 kB / 1.209 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.499e-05/0.3394, allocations: 3.938 kB / 1.209 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.3394, allocations: 4 kB / 1.209 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003381/0.3398, allocations: 119.8 kB / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.3398, allocations: 3.938 kB / 1.209 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.074e-05/0.3398, allocations: 7.922 kB / 1.209 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.34, allocations: 75.89 kB / 1.209 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.34, allocations: 3.938 kB / 1.21 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.613e-06/0.34, allocations: 0 / 1.21 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.34, allocations: 0 / 1.21 GB, free: 7.926 MB / 0.9669 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.000421/0.3405, allocations: 339.5 kB / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.3405, allocations: 8.625 kB / 1.21 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.3406, allocations: 38.75 kB / 1.21 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001533/0.3407, allocations: 8.922 kB / 1.21 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.3408, allocations: 160.7 kB / 1.21 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.3408, allocations: 4.375 kB / 1.21 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.3409, allocations: 8.281 kB / 1.21 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.341, allocations: 41.81 kB / 1.21 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.341, allocations: 0 / 1.21 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.341, allocations: 0 / 1.21 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.341, allocations: 7.984 kB / 1.21 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.888e-05/0.3411, allocations: 15.92 kB / 1.21 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.3413, allocations: 161.6 kB / 1.21 GB, free: 7 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.3415, allocations: 38.67 kB / 1.21 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.582e-05/0.3416, allocations: 24.84 kB / 1.21 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001038/0.3426, allocations: 1.474 MB / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.3426, allocations: 46.48 kB / 1.212 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.3427, allocations: 0 / 1.212 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001988/0.3429, allocations: 57.62 kB / 1.212 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.3429, allocations: 51.41 kB / 1.212 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.551e-05/0.343, allocations: 89.86 kB / 1.212 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.343, allocations: 25.7 kB / 1.212 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.744e-05/0.343, allocations: 80.14 kB / 1.212 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.938e-05/0.3431, allocations: 19.8 kB / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.3431, allocations: 21.72 kB / 1.212 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3432, allocations: 310.8 kB / 1.212 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.604e-05/0.3433, allocations: 7.984 kB / 1.212 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.859e-05/0.3433, allocations: 8 kB / 1.212 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.957e-05/0.3434, allocations: 24.86 kB / 1.212 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.3434, allocations: 0 / 1.212 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.368e-05/0.3435, allocations: 57.62 kB / 1.213 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3435, allocations: 11.94 kB / 1.213 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.3435, allocations: 3.984 kB / 1.213 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3435, allocations: 7.938 kB / 1.213 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.234e-05/0.3436, allocations: 8.188 kB / 1.213 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3436, allocations: 0 / 1.213 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.384e-05/0.3436, allocations: 7.938 kB / 1.213 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.3436, allocations: 0 / 1.213 GB, free: 4.207 MB / 0.9669 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.408e-05/0.3437, allocations: 113.8 kB / 1.213 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.3438, allocations: 3.938 kB / 1.213 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.3439, allocations: 73.11 kB / 1.213 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3439, allocations: 4 kB / 1.213 GB, free: 4 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3439, allocations: 0 / 1.213 GB, free: 4 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3439, allocations: 0 / 1.213 GB, free: 4 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.3441, allocations: 169.5 kB / 1.213 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3441, allocations: 0 / 1.213 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.414e-05/0.3441, allocations: 11.98 kB / 1.213 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.529e-05/0.3442, allocations: 3.938 kB / 1.213 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.3442, allocations: 4 kB / 1.213 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3442, allocations: 4 kB / 1.213 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3442, allocations: 0 / 1.213 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.3443, allocations: 101.1 kB / 1.213 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.581e-05/0.3444, allocations: 85.03 kB / 1.213 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.3444, allocations: 0 / 1.213 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.445e-05/0.3445, allocations: 4.031 kB / 1.213 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.416e-05/0.3445, allocations: 0 / 1.213 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.3445, allocations: 8 kB / 1.213 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.64e-05/0.3445, allocations: 75.28 kB / 1.213 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3445, allocations: 0 / 1.213 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002373/0.3448, allocations: 32.05 kB / 1.213 GB, free: 3.426 MB / 0.9669 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.0006155/0.3454, allocations: 0.6965 MB / 1.214 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001075/0.3455, allocations: 32.17 kB / 1.214 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3455, allocations: 4.062 kB / 1.214 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.854e-05/0.3456, allocations: 19.94 kB / 1.214 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.3457, allocations: 4 kB / 1.214 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009496/0.3466, allocations: 1.145 MB / 1.215 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.3469, allocations: 0.6806 MB / 1.216 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.641e-05/0.3469, allocations: 4 kB / 1.216 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.325e-05/0.347, allocations: 11.44 kB / 1.216 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of SimCode: time 3.2e-07/0.347, allocations: 0 / 1.216 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01997/0.3669, allocations: 1.849 MB / 1.218 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.759/8.125, allocations: 10.62 kB / 1.218 GB, free: 15.04 MB / 0.9825 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=50 --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