Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.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.InfiniteLineSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E.1.|E.2.|E.3.|E.4.|E.5.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E.1.|E.2.|E.3.|E.4.|E.5.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 104.2 kB / 16.35 MB, free: 5.824 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.001383/0.001383, allocations: 190.4 kB / 17.29 MB, free: 5.48 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.452/2.452, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.42 kB / 0.8774 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.302, allocations: 153 MB / 1.027 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource): time 0.002535/0.3046, allocations: 1.324 MB / 1.028 GB, free: 0.7031 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004953/0.3051, allocations: 224.1 kB / 1.028 GB, free: 492 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.765e-05/0.3051, allocations: 4 kB / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.252e-05/0.3052, allocations: 4 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.3053, allocations: 7.922 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.3056, allocations: 39.89 kB / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.832e-05/0.3057, allocations: 39.86 kB / 1.028 GB, free: 396 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.507e-05/0.3057, allocations: 7.984 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.985e-05/0.3058, allocations: 15.98 kB / 1.028 GB, free: 372 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.986e-05/0.3059, allocations: 15.98 kB / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.3059, allocations: 4 kB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.306, allocations: 43.89 kB / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.353e-05/0.3061, allocations: 23.91 kB / 1.028 GB, free: 284 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.3061, allocations: 11.94 kB / 1.028 GB, free: 272 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.3062, allocations: 59.86 kB / 1.029 GB, free: 212 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3062, allocations: 0 / 1.029 GB, free: 212 kB / 0.795 GB Notification: Performance of FrontEnd: time 3.116e-06/0.3063, allocations: 0 / 1.029 GB, free: 212 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.3063, allocations: 3.938 kB / 1.029 GB, free: 208 kB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004108/0.3067, allocations: 351.4 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.3067, allocations: 16.02 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003944/0.3071, allocations: 28.84 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.3073, allocations: 172.2 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.3073, allocations: 384 / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.3073, allocations: 8.359 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.3074, allocations: 62.2 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.3075, allocations: 192 / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.3075, allocations: 7.938 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.3075, allocations: 4 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.3077, allocations: 55.92 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001813/0.3079, allocations: 169.7 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.308, allocations: 66.47 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.192e-05/0.3081, allocations: 24.97 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.3081, allocations: 3.984 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.3081, allocations: 38.56 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.3081, allocations: 4 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0003286/0.3085, allocations: 105.4 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.3085, allocations: 51.41 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.872e-05/0.3086, allocations: 117.8 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.3086, allocations: 29.69 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.892e-05/0.3087, allocations: 84.14 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.436e-05/0.3087, allocations: 15.75 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.3088, allocations: 25.7 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.398e-05/0.3089, allocations: 318.8 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.409e-05/0.3089, allocations: 11.98 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.261e-05/0.309, allocations: 23.97 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.3091, allocations: 44.83 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3091, allocations: 0 / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002196/0.3093, allocations: 85.5 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.3093, allocations: 8 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3094, allocations: 7.875 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.3094, allocations: 4 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.3095, allocations: 11.98 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3095, allocations: 0 / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.755e-05/0.3095, allocations: 4 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-06/0.3096, allocations: 0 / 1.03 GB, free: 14.05 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 (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 prepare postOptimizeDAE: time 8.102e-05/0.3096, allocations: 121.8 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.902e-05/0.3097, allocations: 7.906 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002169/0.3099, allocations: 97.89 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.31, allocations: 4 kB / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.31, allocations: 0 / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.31, allocations: 3.984 kB / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.3101, allocations: 173.6 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3101, allocations: 4.438 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.442e-05/0.3102, allocations: 11.98 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.3102, allocations: 0 / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.3102, allocations: 7.938 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3102, allocations: 4.391 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3102, allocations: 0 / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.3105, allocations: 116.9 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.3105, allocations: 85.09 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.3106, allocations: 7.938 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.93e-05/0.3106, allocations: 0 / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.3106, allocations: 4 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.3107, allocations: 3.984 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.949e-05/0.3107, allocations: 87.28 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3107, allocations: 0 / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000216/0.3109, allocations: 20 kB / 1.031 GB, free: 13.21 MB / 0.8106 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 (7): * Single equations (assignments): 7 * 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.0001886/0.3111, allocations: 127.2 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001753/0.3113, allocations: 51.94 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3113, allocations: 3.938 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.558e-05/0.3114, allocations: 35.91 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.3116, allocations: 16.7 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003433/0.312, allocations: 155.8 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.3122, allocations: 0.6922 MB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.319e-05/0.3123, allocations: 28.42 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.3123, allocations: 11.44 kB / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of SimCode: time 1.644e-06/0.3123, allocations: 4 kB / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of Templates: time 0.003507/0.3158, allocations: 1.189 MB / 1.033 GB, free: 10.89 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches