Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 117.7 kB / 16.37 MB, free: 6.016 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.001937/0.001937, allocations: 189.7 kB / 17.3 MB, free: 5.613 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.45/2.45, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 68.84 kB / 0.8774 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2726, allocations: 153 MB / 1.027 GB, free: 1.992 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002382/0.275, allocations: 1.457 MB / 1.028 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003884/0.2789, allocations: 2.895 MB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.901e-05/0.279, allocations: 0 / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.048e-05/0.279, allocations: 3.984 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.437e-05/0.2791, allocations: 11.81 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003447/0.2825, allocations: 1.586 MB / 1.033 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.407e-05/0.2826, allocations: 43.67 kB / 1.033 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.677e-05/0.2827, allocations: 4 kB / 1.033 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.604e-05/0.2827, allocations: 19.94 kB / 1.033 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.536e-05/0.2827, allocations: 19.86 kB / 1.033 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.207e-06/0.2828, allocations: 0 / 1.033 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001913/0.2847, allocations: 1.533 MB / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.2847, allocations: 11.94 kB / 1.034 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.2847, allocations: 15.88 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.286, allocations: 1.115 MB / 1.035 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.286, allocations: 0 / 1.035 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.282e-06/0.286, allocations: 0 / 1.035 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.2861, allocations: 4 kB / 1.035 GB, free: 9.262 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005195/0.2866, allocations: 0.5146 MB / 1.036 GB, free: 8.699 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.2866, allocations: 12.03 kB / 1.036 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.492e-05/0.2867, allocations: 80.12 kB / 1.036 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.2868, allocations: 247.6 kB / 1.036 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.623e-05/0.2869, allocations: 150.9 kB / 1.036 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.144e-05/0.2869, allocations: 158.9 kB / 1.036 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.517e-05/0.287, allocations: 109.1 kB / 1.037 GB, free: 7.91 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.287, allocations: 75.28 kB / 1.037 GB, free: 7.836 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.508e-05/0.2871, allocations: 150.6 kB / 1.037 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.974e-05/0.2871, allocations: 154.5 kB / 1.037 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.613e-05/0.2872, allocations: 158.6 kB / 1.037 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002504/0.2874, allocations: 469.9 kB / 1.037 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.973e-05/0.2875, allocations: 169.2 kB / 1.038 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.744e-05/0.2875, allocations: 80.14 kB / 1.038 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.2876, allocations: 75.28 kB / 1.038 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.2876, allocations: 125.7 kB / 1.038 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.2876, allocations: 0 / 1.038 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.945e-05/0.2877, allocations: 33.61 kB / 1.038 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.2877, allocations: 126.7 kB / 1.038 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.2879, allocations: 135.7 kB / 1.038 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.2879, allocations: 29.7 kB / 1.038 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.388e-05/0.2879, allocations: 88.05 kB / 1.038 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.2879, allocations: 0 / 1.038 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.288, allocations: 25.72 kB / 1.038 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.834e-05/0.2881, allocations: 314.8 kB / 1.039 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.282e-05/0.2881, allocations: 8 kB / 1.039 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.724e-05/0.2881, allocations: 4 kB / 1.039 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.578e-05/0.2882, allocations: 16.8 kB / 1.039 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2882, allocations: 0 / 1.039 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001189/0.2883, allocations: 53.62 kB / 1.039 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.2883, allocations: 4 kB / 1.039 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/0.2883, allocations: 8.125 kB / 1.039 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.2884, allocations: 4 kB / 1.039 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.2884, allocations: 3.938 kB / 1.039 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.2884, allocations: 0 / 1.039 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.211e-05/0.2884, allocations: 7.906 kB / 1.039 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.2884, allocations: 0 / 1.039 GB, free: 5.5 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.21e-05/0.2885, allocations: 189.1 kB / 1.039 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.642e-05/0.2886, allocations: 112.8 kB / 1.039 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.576e-05/0.2886, allocations: 120.8 kB / 1.039 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.592e-05/0.2887, allocations: 180.2 kB / 1.039 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-05/0.2887, allocations: 176.3 kB / 1.039 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.892e-05/0.2888, allocations: 180.2 kB / 1.04 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.289, allocations: 417.2 kB / 1.04 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.81e-05/0.289, allocations: 104.9 kB / 1.04 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.862e-05/0.289, allocations: 112.9 kB / 1.04 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-05/0.2891, allocations: 176.3 kB / 1.04 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.376e-05/0.2892, allocations: 180.2 kB / 1.041 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.592e-05/0.2892, allocations: 180.2 kB / 1.041 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.185e-05/0.2893, allocations: 188.3 kB / 1.041 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.2894, allocations: 307.7 kB / 1.041 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.831e-05/0.2895, allocations: 197.9 kB / 1.041 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.264e-05/0.2895, allocations: 184.2 kB / 1.042 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.935e-05/0.2896, allocations: 101 kB / 1.042 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.783e-05/0.2897, allocations: 184.2 kB / 1.042 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/0.2897, allocations: 109 kB / 1.042 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.408e-05/0.2898, allocations: 101.8 kB / 1.042 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2898, allocations: 0 / 1.042 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006653/0.2904, allocations: 279.8 kB / 1.042 GB, free: 1.578 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 (0): * Single equations (assignments): 0 * 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.0009678/0.2914, allocations: 0.5371 MB / 1.043 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.162e-05/0.2915, allocations: 45.58 kB / 1.043 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2915, allocations: 0 / 1.043 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.2915, allocations: 0 / 1.043 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.2919, allocations: 467.6 kB / 1.043 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002915/0.2922, allocations: 236.2 kB / 1.044 GB, free: 264 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.2924, allocations: 0.6846 MB / 1.044 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.158e-05/0.2924, allocations: 0 / 1.044 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.011e-05/0.2925, allocations: 7.438 kB / 1.044 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2925, allocations: 0 / 1.044 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of Templates: time 0.008836/0.3013, allocations: 5.636 MB / 1.05 GB, free: 9.957 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches