Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001608/0.001608, allocations: 105.2 kB / 15.99 MB, free: 6.355 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.001515/0.001515, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.383/1.383, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.648/2.648, allocations: 469.8 MB / 0.7427 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 63.98 kB / 0.9088 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3119, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005251/0.3172, allocations: 3.09 MB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00342/0.3207, allocations: 2.114 MB / 1.069 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003408/0.321, allocations: 4 kB / 1.069 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001698/0.3228, allocations: 478 kB / 1.07 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004709/0.3233, allocations: 135.1 kB / 1.07 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.3235, allocations: 51.97 kB / 1.07 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0006315/0.3241, allocations: 434 kB / 1.07 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002693/0.3244, allocations: 151.2 kB / 1.07 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000217/0.3246, allocations: 163.2 kB / 1.071 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.3249, allocations: 187.2 kB / 1.071 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.929e-05/0.3249, allocations: 40 kB / 1.071 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.116e-05/0.325, allocations: 36 kB / 1.071 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.3251, allocations: 95.61 kB / 1.071 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002201/0.3254, allocations: 215 kB / 1.071 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004804/0.3258, allocations: 458.8 kB / 1.072 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3258, allocations: 0 / 1.072 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3259, allocations: 0 / 1.072 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.3259, allocations: 4 kB / 1.072 GB, free: 7.465 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.001097/0.327, allocations: 0.6967 MB / 1.072 GB, free: 6.719 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.327, allocations: 12.03 kB / 1.072 GB, free: 6.707 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.135e-05/0.3271, allocations: 44.38 kB / 1.072 GB, free: 6.664 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005019/0.3276, allocations: 382 kB / 1.073 GB, free: 6.25 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.3277, allocations: 16.81 kB / 1.073 GB, free: 6.234 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.418e-05/0.3277, allocations: 16.38 kB / 1.073 GB, free: 6.219 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004414/0.3282, allocations: 215.5 kB / 1.073 GB, free: 6 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.3282, allocations: 0 / 1.073 GB, free: 6 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.3282, allocations: 12 kB / 1.073 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.3282, allocations: 4 kB / 1.073 GB, free: 5.984 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003951/0.3286, allocations: 161.6 kB / 1.073 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.3299, allocations: 0.8739 MB / 1.074 GB, free: 4.879 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003137/0.3302, allocations: 150.6 kB / 1.074 GB, free: 4.723 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.3305, allocations: 114.9 kB / 1.074 GB, free: 4.609 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.3305, allocations: 4 kB / 1.074 GB, free: 4.605 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.3305, allocations: 34.5 kB / 1.074 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.122e-06/0.3305, allocations: 0 / 1.074 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.0006045/0.3311, allocations: 259.7 kB / 1.074 GB, free: 4.305 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.3312, allocations: 51.41 kB / 1.075 GB, free: 4.242 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004995/0.3317, allocations: 417.7 kB / 1.075 GB, free: 3.828 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.3317, allocations: 29.7 kB / 1.075 GB, free: 3.793 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.3319, allocations: 208.1 kB / 1.075 GB, free: 3.586 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.065e-05/0.332, allocations: 59.11 kB / 1.075 GB, free: 3.527 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.306e-05/0.332, allocations: 37.7 kB / 1.075 GB, free: 3.484 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3322, allocations: 346.8 kB / 1.076 GB, free: 3.137 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.3324, allocations: 55.97 kB / 1.076 GB, free: 3.082 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.3325, allocations: 65.97 kB / 1.076 GB, free: 3.02 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.3328, allocations: 130.9 kB / 1.076 GB, free: 2.891 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3328, allocations: 4 kB / 1.076 GB, free: 2.887 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000378/0.3332, allocations: 205.1 kB / 1.076 GB, free: 2.68 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.3332, allocations: 8 kB / 1.076 GB, free: 2.672 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3332, allocations: 0 / 1.076 GB, free: 2.672 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.3333, allocations: 3.938 kB / 1.076 GB, free: 2.668 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.3335, allocations: 55.91 kB / 1.076 GB, free: 2.613 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.3335, allocations: 4 kB / 1.076 GB, free: 2.609 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.3337, allocations: 19.83 kB / 1.076 GB, free: 2.59 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.3337, allocations: 8 kB / 1.076 GB, free: 2.582 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 (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.0001695/0.3339, allocations: 167.6 kB / 1.076 GB, free: 2.41 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/0.334, allocations: 35.53 kB / 1.076 GB, free: 2.375 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.681e-05/0.334, allocations: 43.53 kB / 1.076 GB, free: 2.328 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.334, allocations: 0 / 1.076 GB, free: 2.328 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3341, allocations: 4 kB / 1.076 GB, free: 2.324 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.3341, allocations: 3.984 kB / 1.076 GB, free: 2.32 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004308/0.3345, allocations: 369.4 kB / 1.077 GB, free: 1.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3345, allocations: 3.938 kB / 1.077 GB, free: 1.906 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/0.3348, allocations: 51.97 kB / 1.077 GB, free: 1.855 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.3348, allocations: 4 kB / 1.077 GB, free: 1.852 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.3348, allocations: 7.938 kB / 1.077 GB, free: 1.844 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3348, allocations: 7.875 kB / 1.077 GB, free: 1.836 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.3348, allocations: 3.984 kB / 1.077 GB, free: 1.832 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006126/0.3354, allocations: 377.2 kB / 1.077 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.3356, allocations: 124.7 kB / 1.077 GB, free: 1.309 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.838e-05/0.3356, allocations: 11.94 kB / 1.077 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.3358, allocations: 15.98 kB / 1.077 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.3358, allocations: 7.984 kB / 1.077 GB, free: 1.273 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.3359, allocations: 4 kB / 1.077 GB, free: 1.27 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003301/0.3362, allocations: 307.1 kB / 1.078 GB, free: 0.9727 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3362, allocations: 0 / 1.078 GB, free: 0.9727 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002947/0.3365, allocations: 71.84 kB / 1.078 GB, free: 0.9023 MB / 0.8419 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.0001468/0.3367, allocations: 107.2 kB / 1.078 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003914/0.337, allocations: 153 kB / 1.078 GB, free: 0.6406 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3371, allocations: 3.938 kB / 1.078 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.3372, allocations: 75.91 kB / 1.078 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006051/0.3378, allocations: 109.3 kB / 1.078 GB, free: 468 kB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4367/0.7746, allocations: 0.8911 MB / 1.079 GB, free: 22.99 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.7749, allocations: 0.7956 MB / 1.08 GB, free: 22.3 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.775, allocations: 26.28 kB / 1.08 GB, free: 22.29 MB / 0.8419 GB Notification: Performance of SimCode: time 1.402e-06/0.775, allocations: 0.5938 kB / 1.08 GB, free: 22.29 MB / 0.8419 GB Notification: Performance of Templates: time 0.007973/0.783, allocations: 4.357 MB / 1.084 GB, free: 22 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches