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 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.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.007303/0.007303, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001821/0.001821, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.749/2.749, allocations: 472.6 MB / 0.7453 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 64.36 kB / 1.07 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2771, allocations: 159.9 MB / 1.226 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003882/0.281, allocations: 3.048 MB / 1.229 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002521/0.2835, allocations: 2.129 MB / 1.231 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.2837, allocations: 8 kB / 1.231 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00131/0.285, allocations: 0.5171 MB / 1.231 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002522/0.2853, allocations: 138.9 kB / 1.231 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000109/0.2854, allocations: 55.95 kB / 1.231 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004129/0.2858, allocations: 441.8 kB / 1.232 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002302/0.2861, allocations: 155.2 kB / 1.232 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.2862, allocations: 155.4 kB / 1.232 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.2865, allocations: 183.2 kB / 1.232 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.872e-05/0.2865, allocations: 39.94 kB / 1.232 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.298e-05/0.2866, allocations: 32 kB / 1.232 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.2867, allocations: 91.69 kB / 1.232 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.2869, allocations: 218.9 kB / 1.233 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004876/0.2874, allocations: 0.5445 MB / 1.233 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2874, allocations: 4 kB / 1.233 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.123e-06/0.2874, allocations: 0 / 1.233 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.2874, allocations: 4 kB / 1.233 GB, free: 1.324 MB / 0.9825 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.0009402/0.2884, allocations: 0.7099 MB / 1.234 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.2884, allocations: 12.03 kB / 1.234 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.08e-05/0.2885, allocations: 48.66 kB / 1.234 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004579/0.2889, allocations: 378.5 kB / 1.234 GB, free: 100 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.289, allocations: 16.81 kB / 1.234 GB, free: 84 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.404e-05/0.289, allocations: 24.33 kB / 1.234 GB, free: 60 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004001/0.2894, allocations: 199.7 kB / 1.235 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.2895, allocations: 3.938 kB / 1.235 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.2895, allocations: 12 kB / 1.235 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.2895, allocations: 4 kB / 1.235 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003764/0.2899, allocations: 169.6 kB / 1.235 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.291, allocations: 0.8586 MB / 1.236 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.2913, allocations: 164 kB / 1.236 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.2915, allocations: 108.8 kB / 1.236 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.2915, allocations: 3.984 kB / 1.236 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.2916, allocations: 34.56 kB / 1.236 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/0.2916, allocations: 0 / 1.236 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.000569/0.2921, allocations: 267.7 kB / 1.236 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.2922, allocations: 55.41 kB / 1.236 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004321/0.2926, allocations: 409.7 kB / 1.237 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.2926, allocations: 29.7 kB / 1.237 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.2928, allocations: 212.3 kB / 1.237 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.197e-05/0.2928, allocations: 59.44 kB / 1.237 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.676e-05/0.2929, allocations: 37.7 kB / 1.237 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.293, allocations: 354.7 kB / 1.237 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.2932, allocations: 59.91 kB / 1.237 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.2934, allocations: 55.97 kB / 1.237 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.2937, allocations: 134.7 kB / 1.237 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2937, allocations: 0 / 1.237 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003744/0.294, allocations: 211 kB / 1.238 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2941, allocations: 8 kB / 1.238 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2941, allocations: 0 / 1.238 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.2941, allocations: 3.938 kB / 1.238 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.2943, allocations: 51.97 kB / 1.238 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.2944, allocations: 4 kB / 1.238 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.2945, allocations: 15.88 kB / 1.238 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.2945, allocations: 8 kB / 1.238 GB, free: 12.42 MB / 0.9981 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.0001491/0.2947, allocations: 170.3 kB / 1.238 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.656e-05/0.2947, allocations: 35.77 kB / 1.238 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.841e-05/0.2948, allocations: 43.53 kB / 1.238 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.2948, allocations: 4 kB / 1.238 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.2948, allocations: 0 / 1.238 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2948, allocations: 0 / 1.238 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003853/0.2952, allocations: 377.3 kB / 1.238 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2952, allocations: 0 / 1.238 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/0.2955, allocations: 51.97 kB / 1.238 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.2955, allocations: 4 kB / 1.238 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.2955, allocations: 7.938 kB / 1.238 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2955, allocations: 3.938 kB / 1.238 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.2955, allocations: 8 kB / 1.238 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005745/0.2961, allocations: 371.1 kB / 1.239 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.972e-05/0.2962, allocations: 124.8 kB / 1.239 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.484e-05/0.2963, allocations: 12 kB / 1.239 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.2965, allocations: 4 kB / 1.239 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.2965, allocations: 19.97 kB / 1.239 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.2965, allocations: 4 kB / 1.239 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003065/0.2968, allocations: 299.2 kB / 1.239 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2968, allocations: 0 / 1.239 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003093/0.2972, allocations: 71.89 kB / 1.239 GB, free: 10.75 MB / 0.9981 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.0001274/0.2973, allocations: 119.2 kB / 1.239 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003487/0.2976, allocations: 143.8 kB / 1.24 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2977, allocations: 3.938 kB / 1.24 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.2978, allocations: 82.25 kB / 1.24 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005077/0.2983, allocations: 99.36 kB / 1.24 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.2995, allocations: 0.7611 MB / 1.24 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.2998, allocations: 0.7912 MB / 1.241 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001153/0.2999, allocations: 34.95 kB / 1.241 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.858e-05/0.3, allocations: 27.42 kB / 1.241 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of SimCode: time 6.72e-07/0.3, allocations: 0 / 1.241 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of Templates: time 0.007573/0.3076, allocations: 4.006 MB / 1.245 GB, free: 4.746 MB / 0.9981 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 -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/jenkins/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