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.001345/0.001345, 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.001391/0.001391, allocations: 193.6 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.444/1.444, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.014/3.014, allocations: 482.6 MB / 0.7548 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 70.33 kB / 0.9241 GB, free: 29.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2944, allocations: 162.3 MB / 1.083 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004924/0.2994, allocations: 3.044 MB / 1.086 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003172/0.3026, allocations: 2.141 MB / 1.088 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002688/0.3029, allocations: 8 kB / 1.088 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001555/0.3045, allocations: 0.5144 MB / 1.088 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.3048, allocations: 134.9 kB / 1.088 GB, free: 7.039 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.305, allocations: 67.92 kB / 1.088 GB, free: 6.973 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005/0.3055, allocations: 437.5 kB / 1.089 GB, free: 6.547 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002853/0.3058, allocations: 147.2 kB / 1.089 GB, free: 6.398 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000243/0.3061, allocations: 163.4 kB / 1.089 GB, free: 6.238 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.3063, allocations: 179.1 kB / 1.089 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.474e-05/0.3064, allocations: 32 kB / 1.089 GB, free: 6.031 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.228e-05/0.3065, allocations: 36 kB / 1.089 GB, free: 5.996 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.3066, allocations: 95.67 kB / 1.089 GB, free: 5.902 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002496/0.3068, allocations: 218.9 kB / 1.09 GB, free: 5.688 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005589/0.3074, allocations: 0.541 MB / 1.09 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3074, allocations: 0 / 1.09 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3074, allocations: 4 kB / 1.09 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.375e-06/0.3074, allocations: 0 / 1.09 GB, free: 5.141 MB / 0.8419 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.001095/0.3085, allocations: 0.6968 MB / 1.091 GB, free: 4.391 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.3086, allocations: 8.031 kB / 1.091 GB, free: 4.383 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.744e-05/0.3087, allocations: 56.38 kB / 1.091 GB, free: 4.328 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004962/0.3092, allocations: 378 kB / 1.091 GB, free: 3.922 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.3092, allocations: 16.81 kB / 1.091 GB, free: 3.906 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.353e-05/0.3093, allocations: 20.38 kB / 1.091 GB, free: 3.887 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004171/0.3097, allocations: 199.6 kB / 1.091 GB, free: 3.688 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.3097, allocations: 0 / 1.091 GB, free: 3.688 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.3098, allocations: 12 kB / 1.091 GB, free: 3.676 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.3098, allocations: 4 kB / 1.091 GB, free: 3.672 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000409/0.3102, allocations: 165.6 kB / 1.092 GB, free: 3.512 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.3115, allocations: 0.8701 MB / 1.092 GB, free: 2.57 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000323/0.3118, allocations: 151.7 kB / 1.093 GB, free: 2.414 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/0.3121, allocations: 110.2 kB / 1.093 GB, free: 2.305 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.3121, allocations: 4 kB / 1.093 GB, free: 2.301 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.3121, allocations: 34.56 kB / 1.093 GB, free: 2.258 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.333e-06/0.3121, allocations: 0 / 1.093 GB, free: 2.258 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.0006447/0.3128, allocations: 255 kB / 1.093 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.3128, allocations: 63.39 kB / 1.093 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005175/0.3134, allocations: 409.7 kB / 1.093 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.3134, allocations: 33.7 kB / 1.094 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.3136, allocations: 208.1 kB / 1.094 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.458e-05/0.3137, allocations: 63.05 kB / 1.094 GB, free: 1.215 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.417e-05/0.3137, allocations: 33.72 kB / 1.094 GB, free: 1.176 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.3139, allocations: 346.8 kB / 1.094 GB, free: 0.8281 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.3141, allocations: 59.91 kB / 1.094 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.3142, allocations: 57.84 kB / 1.094 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/0.3145, allocations: 138.3 kB / 1.094 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3146, allocations: 4 kB / 1.094 GB, free: 0.5742 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004299/0.315, allocations: 201.1 kB / 1.095 GB, free: 380 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.315, allocations: 8 kB / 1.095 GB, free: 372 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.315, allocations: 3.984 kB / 1.095 GB, free: 368 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.3151, allocations: 3.938 kB / 1.095 GB, free: 364 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.3153, allocations: 55.91 kB / 1.095 GB, free: 308 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3153, allocations: 4 kB / 1.095 GB, free: 304 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.3155, allocations: 19.83 kB / 1.095 GB, free: 284 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.3155, allocations: 4 kB / 1.095 GB, free: 280 kB / 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 (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.0001815/0.3157, allocations: 157.8 kB / 1.095 GB, free: 112 kB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.677e-05/0.3158, allocations: 39.52 kB / 1.095 GB, free: 72 kB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.17e-05/0.3159, allocations: 47.52 kB / 1.095 GB, free: 20 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.3159, allocations: 4 kB / 1.095 GB, free: 16 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3159, allocations: 4 kB / 1.095 GB, free: 12 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.3159, allocations: 0 / 1.095 GB, free: 12 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004829/0.3164, allocations: 373.4 kB / 1.095 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3164, allocations: 0 / 1.095 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002585/0.3166, allocations: 55.89 kB / 1.095 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3167, allocations: 4 kB / 1.095 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.3167, allocations: 7.938 kB / 1.095 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.3167, allocations: 4 kB / 1.095 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3167, allocations: 0 / 1.095 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006592/0.3174, allocations: 381.5 kB / 1.096 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.3175, allocations: 120.6 kB / 1.096 GB, free: 15 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.645e-05/0.3175, allocations: 7.938 kB / 1.096 GB, free: 15 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.3177, allocations: 4 kB / 1.096 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.3178, allocations: 19.92 kB / 1.096 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.3178, allocations: 4 kB / 1.096 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003571/0.3181, allocations: 303.2 kB / 1.096 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3182, allocations: 0 / 1.096 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003153/0.3185, allocations: 75.84 kB / 1.096 GB, free: 14.6 MB / 0.8575 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.0001484/0.3186, allocations: 103.2 kB / 1.096 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004323/0.3191, allocations: 145.3 kB / 1.096 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3191, allocations: 7.938 kB / 1.096 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.3193, allocations: 83.81 kB / 1.097 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005967/0.3199, allocations: 105 kB / 1.097 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.3213, allocations: 0.7551 MB / 1.097 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.3217, allocations: 0.7951 MB / 1.098 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001216/0.3219, allocations: 34.97 kB / 1.098 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.946e-05/0.3219, allocations: 23.44 kB / 1.098 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of SimCode: time 3.61e-07/0.3219, allocations: 0 / 1.098 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of Templates: time 0.008869/0.3308, allocations: 3.938 MB / 1.102 GB, free: 8.672 MB / 0.8575 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=400 -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