Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001559/0.001559, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.456/2.456, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 55.75 kB / 0.8774 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2649, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004554/0.2695, allocations: 3.058 MB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00282/0.2724, allocations: 2.152 MB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002657/0.2727, allocations: 12 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.2741, allocations: 497.6 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003528/0.2745, allocations: 146.9 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001411/0.2746, allocations: 63.92 kB / 1.033 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005262/0.2752, allocations: 453.1 kB / 1.033 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002317/0.2754, allocations: 143.2 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002246/0.2756, allocations: 163.3 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.2759, allocations: 183.1 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.783e-05/0.2759, allocations: 36 kB / 1.033 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.487e-05/0.276, allocations: 36 kB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.2761, allocations: 103.6 kB / 1.034 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002133/0.2764, allocations: 211 kB / 1.034 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004358/0.2768, allocations: 0.545 MB / 1.034 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.2768, allocations: 3.938 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2768, allocations: 0 / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.2768, allocations: 0 / 1.034 GB, free: 10.23 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001007/0.2779, allocations: 0.7006 MB / 1.035 GB, free: 9.484 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2779, allocations: 12.03 kB / 1.035 GB, free: 9.473 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.936e-05/0.278, allocations: 44.38 kB / 1.035 GB, free: 9.43 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005017/0.2785, allocations: 382.1 kB / 1.035 GB, free: 9.016 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.2785, allocations: 16.81 kB / 1.035 GB, free: 8.996 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.028e-05/0.2786, allocations: 24.38 kB / 1.035 GB, free: 8.973 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003801/0.2789, allocations: 199.6 kB / 1.036 GB, free: 8.773 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.279, allocations: 3.938 kB / 1.036 GB, free: 8.77 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.279, allocations: 15.94 kB / 1.036 GB, free: 8.754 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.279, allocations: 4 kB / 1.036 GB, free: 8.75 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003608/0.2794, allocations: 165.6 kB / 1.036 GB, free: 8.586 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.2805, allocations: 0.8584 MB / 1.037 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.2808, allocations: 150.6 kB / 1.037 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.281, allocations: 112.8 kB / 1.037 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.2811, allocations: 4 kB / 1.037 GB, free: 7.383 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.2811, allocations: 34.56 kB / 1.037 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/0.2811, allocations: 0 / 1.037 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.0005613/0.2817, allocations: 255.6 kB / 1.037 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.2817, allocations: 55.34 kB / 1.037 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004287/0.2821, allocations: 421.7 kB / 1.038 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.2821, allocations: 29.7 kB / 1.038 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.2823, allocations: 208.1 kB / 1.038 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.047e-05/0.2823, allocations: 59.11 kB / 1.038 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.923e-05/0.2824, allocations: 37.7 kB / 1.038 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.2825, allocations: 346.8 kB / 1.038 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.2827, allocations: 55.97 kB / 1.038 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.2828, allocations: 63.97 kB / 1.038 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002697/0.2831, allocations: 130.5 kB / 1.039 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2831, allocations: 0 / 1.039 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003586/0.2835, allocations: 211.3 kB / 1.039 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.2835, allocations: 8 kB / 1.039 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2835, allocations: 0 / 1.039 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.2835, allocations: 3.938 kB / 1.039 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.2838, allocations: 59.91 kB / 1.039 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.2838, allocations: 4 kB / 1.039 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.2839, allocations: 15.83 kB / 1.039 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.2839, allocations: 8 kB / 1.039 GB, free: 5.355 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 (20): * Single equations (assignments): 20 * 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 0.0001464/0.2841, allocations: 173.7 kB / 1.039 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.548e-05/0.2841, allocations: 35.53 kB / 1.039 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.585e-05/0.2842, allocations: 43.53 kB / 1.039 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.2842, allocations: 11.92 kB / 1.039 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2843, allocations: 4 kB / 1.039 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2843, allocations: 0 / 1.039 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000368/0.2846, allocations: 373.3 kB / 1.039 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2846, allocations: 0 / 1.039 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/0.2849, allocations: 51.97 kB / 1.04 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2849, allocations: 0 / 1.04 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.2849, allocations: 7.938 kB / 1.04 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.2849, allocations: 0 / 1.04 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.285, allocations: 3.938 kB / 1.04 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005614/0.2855, allocations: 378.9 kB / 1.04 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.2856, allocations: 120.6 kB / 1.04 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.641e-05/0.2857, allocations: 7.938 kB / 1.04 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.2859, allocations: 11.98 kB / 1.04 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.2859, allocations: 11.98 kB / 1.04 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.2859, allocations: 8.062 kB / 1.04 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003005/0.2862, allocations: 299.2 kB / 1.04 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2862, allocations: 0 / 1.04 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002984/0.2865, allocations: 71.84 kB / 1.04 GB, free: 3.68 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0001178/0.2867, allocations: 115.2 kB / 1.041 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000342/0.287, allocations: 138.8 kB / 1.041 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.287, allocations: 11.94 kB / 1.041 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.2872, allocations: 75.91 kB / 1.041 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005144/0.2877, allocations: 106.2 kB / 1.041 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.2889, allocations: 0.7322 MB / 1.042 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.2892, allocations: 0.799 MB / 1.042 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001199/0.2894, allocations: 38.97 kB / 1.042 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.073e-05/0.2894, allocations: 27.44 kB / 1.042 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.2894, allocations: 0 / 1.042 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of Templates: time 0.007872/0.2973, allocations: 3.952 MB / 1.046 GB, free: 13.74 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches