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 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.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.001826/0.001826, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00222/0.00222, allocations: 194 kB / 16.53 MB, free: 6.391 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.406/1.406, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.769/2.769, allocations: 472.6 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 62.03 kB / 0.9121 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2723, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002412/0.2747, allocations: 1.443 MB / 1.07 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004018/0.2788, allocations: 2.894 MB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.369e-05/0.2788, allocations: 0 / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.863e-05/0.2789, allocations: 3.938 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.762e-05/0.279, allocations: 15.84 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003577/0.2825, allocations: 1.591 MB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.218e-05/0.2826, allocations: 39.75 kB / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.549e-05/0.2827, allocations: 19.84 kB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.758e-05/0.2827, allocations: 11.94 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.908e-05/0.2827, allocations: 19.92 kB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.2828, allocations: 0 / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002134/0.2849, allocations: 1.455 MB / 1.076 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.757e-05/0.2849, allocations: 7.938 kB / 1.076 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.491e-05/0.285, allocations: 19.86 kB / 1.076 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.2864, allocations: 1.119 MB / 1.077 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2864, allocations: 0 / 1.077 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2864, allocations: 0 / 1.077 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.2864, allocations: 0 / 1.077 GB, free: 1.723 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006072/0.287, allocations: 0.5184 MB / 1.077 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.287, allocations: 8.031 kB / 1.077 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.434e-05/0.2871, allocations: 80.22 kB / 1.077 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.2872, allocations: 248.8 kB / 1.077 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.515e-05/0.2873, allocations: 154.9 kB / 1.078 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.363e-05/0.2874, allocations: 158.9 kB / 1.078 GB, free: 492 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.095e-05/0.2874, allocations: 113 kB / 1.078 GB, free: 372 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/0.2875, allocations: 75.28 kB / 1.078 GB, free: 296 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.48e-05/0.2875, allocations: 150.6 kB / 1.078 GB, free: 144 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.035e-05/0.2876, allocations: 154.6 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.912e-05/0.2876, allocations: 150.6 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002775/0.2879, allocations: 477.8 kB / 1.079 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.019e-05/0.288, allocations: 169.1 kB / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.259e-05/0.288, allocations: 84.19 kB / 1.079 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.2881, allocations: 83.28 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.784e-05/0.2881, allocations: 113.8 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.2881, allocations: 0 / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 7.292e-05/0.2882, allocations: 33.69 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.2883, allocations: 126.7 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.2884, allocations: 131.5 kB / 1.08 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.2884, allocations: 33.7 kB / 1.08 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.748e-05/0.2885, allocations: 92.08 kB / 1.08 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.319e-06/0.2885, allocations: 0 / 1.08 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.2885, allocations: 25.64 kB / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.2886, allocations: 314.8 kB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.694e-05/0.2887, allocations: 8 kB / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.713e-05/0.2887, allocations: 0 / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.496e-05/0.2888, allocations: 20.84 kB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2888, allocations: 4.031 kB / 1.08 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001421/0.2889, allocations: 57.61 kB / 1.08 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.289, allocations: 4 kB / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/0.289, allocations: 7.938 kB / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.289, allocations: 0 / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.533e-06/0.289, allocations: 0 / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.289, allocations: 3.984 kB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.132e-05/0.289, allocations: 3.938 kB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.2891, allocations: 4 kB / 1.08 GB, free: 13.95 MB / 0.8419 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 0.0001135/0.2892, allocations: 187.4 kB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.2893, allocations: 112.8 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.982e-05/0.2894, allocations: 108.9 kB / 1.081 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001215/0.2895, allocations: 188.2 kB / 1.081 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001003/0.2896, allocations: 176.3 kB / 1.081 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.905e-05/0.2897, allocations: 180.2 kB / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.2899, allocations: 417.2 kB / 1.081 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.433e-05/0.2899, allocations: 104.9 kB / 1.082 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.765e-05/0.29, allocations: 108.9 kB / 1.082 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-05/0.2901, allocations: 180.3 kB / 1.082 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.659e-05/0.2901, allocations: 180.2 kB / 1.082 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.199e-05/0.2902, allocations: 180.3 kB / 1.082 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-05/0.2903, allocations: 180.3 kB / 1.082 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.2904, allocations: 311.8 kB / 1.083 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.177e-05/0.2905, allocations: 193.9 kB / 1.083 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.741e-05/0.2906, allocations: 176.3 kB / 1.083 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.64e-05/0.2907, allocations: 113 kB / 1.083 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.2908, allocations: 180.2 kB / 1.083 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.735e-05/0.2908, allocations: 101 kB / 1.083 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.637e-05/0.2909, allocations: 100.4 kB / 1.083 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2909, allocations: 7.938 kB / 1.083 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007857/0.2917, allocations: 275.8 kB / 1.084 GB, free: 10.04 MB / 0.8419 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.001163/0.2929, allocations: 0.5316 MB / 1.084 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001063/0.293, allocations: 45.62 kB / 1.084 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.293, allocations: 0 / 1.084 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.863e-06/0.293, allocations: 4 kB / 1.084 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.2935, allocations: 471.7 kB / 1.085 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003383/0.2938, allocations: 243.9 kB / 1.085 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.2941, allocations: 0.6884 MB / 1.086 GB, free: 8 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.217e-05/0.2941, allocations: 0 / 1.086 GB, free: 8 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.19e-05/0.2941, allocations: 11.44 kB / 1.086 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of SimCode: time 2e-07/0.2941, allocations: 0 / 1.086 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of Templates: time 0.009494/0.3036, allocations: 5.666 MB / 1.091 GB, free: 2.379 MB / 0.8419 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 -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/jenkins/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