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_Equivalent.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_Equivalent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hRea|hMir|h",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hRea|hMir|h",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001387/0.001387, allocations: 189.9 kB / 17.3 MB, free: 5.828 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 / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.437/2.437, allocations: 442.5 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 67.55 kB / 0.8774 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2877, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent): time 0.002586/0.2903, allocations: 1.38 MB / 1.028 GB, free: 0.6562 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001972/0.2923, allocations: 1.335 MB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.096e-05/0.2923, allocations: 4 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.443e-05/0.2924, allocations: 3.938 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000163/0.2926, allocations: 15.92 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008766/0.2935, allocations: 390.8 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.132e-05/0.2936, allocations: 51.77 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.827e-05/0.2936, allocations: 0 / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.993e-05/0.2936, allocations: 19.98 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.638e-05/0.2937, allocations: 23.92 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.2937, allocations: 7.938 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007732/0.2945, allocations: 0.507 MB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.785e-05/0.2946, allocations: 11.98 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.2946, allocations: 19.86 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004928/0.2951, allocations: 385.6 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.2951, allocations: 7.938 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2951, allocations: 0 / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.2951, allocations: 0 / 1.031 GB, free: 13.88 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.0004714/0.2956, allocations: 419.2 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.2957, allocations: 8.031 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.2957, allocations: 4.938 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.2958, allocations: 184.2 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.2958, allocations: 384 / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.2958, allocations: 384 / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.296, allocations: 50 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.296, allocations: 0 / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.296, allocations: 4 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.296, allocations: 8 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.129e-05/0.2961, allocations: 43.95 kB / 1.032 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.2963, allocations: 177.7 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.254e-05/0.2964, allocations: 58.5 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.136e-05/0.2964, allocations: 24.94 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.266e-05/0.2965, allocations: 11.98 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.2965, allocations: 38.5 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2965, allocations: 4 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002099/0.2967, allocations: 93.56 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.2968, allocations: 55.34 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.381e-05/0.2969, allocations: 117.8 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.2969, allocations: 25.7 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.297, allocations: 92.12 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.297, allocations: 7.812 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.297, allocations: 17.72 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.2971, allocations: 322.8 kB / 1.033 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.282e-05/0.2972, allocations: 16 kB / 1.033 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.827e-05/0.2972, allocations: 15.98 kB / 1.033 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.046e-05/0.2973, allocations: 40.84 kB / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2973, allocations: 4 kB / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001159/0.2974, allocations: 77.61 kB / 1.033 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2974, allocations: 15.16 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.2974, allocations: 0 / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.2975, allocations: 0 / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.446e-05/0.2975, allocations: 15.98 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2975, allocations: 3.984 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.961e-05/0.2976, allocations: 7.906 kB / 1.033 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.2976, allocations: 4 kB / 1.033 GB, free: 11.73 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 (4): * Single equations (assignments): 4 * 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.969e-05/0.2977, allocations: 117.7 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.2977, allocations: 3.938 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001972/0.2979, allocations: 105.5 kB / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2979, allocations: 0 / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2979, allocations: 7.938 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2979, allocations: 4 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.2981, allocations: 181.6 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2981, allocations: 0 / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.853e-05/0.2981, allocations: 8 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.667e-06/0.2981, allocations: 3.938 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.2981, allocations: 4 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2981, allocations: 0 / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2981, allocations: 0 / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.2983, allocations: 113.4 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.255e-05/0.2983, allocations: 84.95 kB / 1.033 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.2984, allocations: 0 / 1.033 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.33e-05/0.2984, allocations: 8 kB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.568e-05/0.2984, allocations: 7.969 kB / 1.033 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.2984, allocations: 4 kB / 1.033 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.875e-05/0.2985, allocations: 99.58 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2985, allocations: 0 / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003489/0.2988, allocations: 119.9 kB / 1.034 GB, free: 10.77 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 (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 Backend phase and start with SimCode phase: time 0.0004677/0.2993, allocations: 255 kB / 1.034 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001184/0.2994, allocations: 43.97 kB / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2994, allocations: 4 kB / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.1e-05/0.2995, allocations: 23.92 kB / 1.034 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.2997, allocations: 12.7 kB / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002984/0.3, allocations: 158.7 kB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.3003, allocations: 0.6872 MB / 1.035 GB, free: 9.535 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.75e-05/0.3003, allocations: 14.95 kB / 1.035 GB, free: 9.523 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.342e-05/0.3003, allocations: 11.44 kB / 1.035 GB, free: 9.512 MB / 0.8106 GB Notification: Performance of SimCode: time 2.9e-07/0.3003, allocations: 0 / 1.035 GB, free: 9.512 MB / 0.8106 GB Notification: Performance of Templates: time 0.005357/0.3057, allocations: 2.654 MB / 1.037 GB, free: 6.922 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Equivalent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches