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: 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.001459/0.001459, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001094/0.001094, allocations: 193 kB / 16.25 MB, free: 6.637 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.354/1.354, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.734/2.734, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 69.77 kB / 0.9116 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2838, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint): time 0.001636/0.2855, allocations: 0.6385 MB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.287, allocations: 1.309 MB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.079e-05/0.287, allocations: 0 / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.634e-05/0.287, allocations: 0 / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.7e-06/0.2871, allocations: 0 / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004323/0.2875, allocations: 91.8 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.687e-05/0.2875, allocations: 11.94 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.905e-05/0.2876, allocations: 4 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.507e-05/0.2876, allocations: 3.984 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.164e-05/0.2876, allocations: 7.984 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.867e-06/0.2877, allocations: 4 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002788/0.2879, allocations: 131.7 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.288, allocations: 7.984 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.712e-05/0.288, allocations: 11.88 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.2881, allocations: 75.89 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2882, allocations: 0 / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2882, allocations: 0 / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.126e-06/0.2882, allocations: 0 / 1.07 GB, free: 8.441 MB / 0.8262 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.0003389/0.2885, allocations: 339.5 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.2886, allocations: 12.03 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.2887, allocations: 8.922 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.711e-05/0.2888, allocations: 164.3 kB / 1.071 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.2888, allocations: 384 / 1.071 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.2888, allocations: 4.375 kB / 1.071 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.289, allocations: 42 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.289, allocations: 0 / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.289, allocations: 4 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.289, allocations: 0 / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.504e-05/0.289, allocations: 15.98 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.2892, allocations: 161.9 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.2894, allocations: 50.56 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.691e-05/0.2894, allocations: 20.84 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008365/0.2903, allocations: 1.478 MB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.2903, allocations: 46.5 kB / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.2903, allocations: 0 / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001581/0.2905, allocations: 57.58 kB / 1.072 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.2905, allocations: 55.34 kB / 1.072 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.334e-05/0.2906, allocations: 93.86 kB / 1.072 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.2906, allocations: 29.7 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.595e-05/0.2906, allocations: 80.14 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.2906, allocations: 7.812 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.2907, allocations: 25.7 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.16e-05/0.2908, allocations: 310.8 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.042e-05/0.2908, allocations: 8 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.842e-05/0.2908, allocations: 16.11 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.956e-05/0.2909, allocations: 20.86 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2909, allocations: 0 / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.629e-05/0.291, allocations: 61.62 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.291, allocations: 7.938 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.291, allocations: 0 / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.291, allocations: 7.938 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.499e-05/0.2911, allocations: 15.98 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2911, allocations: 0 / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.123e-05/0.2911, allocations: 3.938 kB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.2912, allocations: 4 kB / 1.073 GB, free: 4.75 MB / 0.8262 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 5.924e-05/0.2912, allocations: 105.8 kB / 1.073 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.114e-05/0.2912, allocations: 3.938 kB / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.2914, allocations: 77.11 kB / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.2914, allocations: 4 kB / 1.073 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2914, allocations: 0 / 1.073 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2914, allocations: 0 / 1.073 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.298e-05/0.2915, allocations: 157.7 kB / 1.073 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2915, allocations: 0 / 1.073 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.124e-05/0.2916, allocations: 8 kB / 1.073 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.2916, allocations: 3.938 kB / 1.073 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.2916, allocations: 7.984 kB / 1.073 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2916, allocations: 0 / 1.073 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2916, allocations: 0 / 1.073 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.2918, allocations: 105.2 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.876e-05/0.2918, allocations: 81.05 kB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.2918, allocations: 15.95 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.807e-05/0.2919, allocations: 0 / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.247e-05/0.2919, allocations: 3.938 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.2919, allocations: 4 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.119e-05/0.2919, allocations: 75.28 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2919, allocations: 0 / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002252/0.2921, allocations: 32.06 kB / 1.074 GB, free: 3.973 MB / 0.8262 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.000283/0.2924, allocations: 155.4 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.2925, allocations: 27.98 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2926, allocations: 0 / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.888e-05/0.2926, allocations: 19.94 kB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.2927, allocations: 7.984 kB / 1.074 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002694/0.293, allocations: 133.5 kB / 1.074 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.2932, allocations: 0.6844 MB / 1.075 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.868e-05/0.2933, allocations: 8.156 kB / 1.075 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.117e-05/0.2933, allocations: 7.438 kB / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.2933, allocations: 0 / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of Templates: time 0.003187/0.2965, allocations: 0.8999 MB / 1.076 GB, free: 2.027 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/jenkins/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