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.001412/0.001412, allocations: 100.1 kB / 15.88 MB, free: 12 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.001675/0.001674, allocations: 198.1 kB / 16.79 MB, free: 6.809 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.429/1.429, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.869/2.869, allocations: 461.9 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 63.27 kB / 0.8991 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3484, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004787/0.3532, allocations: 3.092 MB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003069/0.3563, allocations: 2.11 MB / 1.058 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003837/0.3567, allocations: 7.938 kB / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001685/0.3584, allocations: 482.1 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004452/0.3589, allocations: 131.1 kB / 1.058 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.3591, allocations: 47.97 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006267/0.3597, allocations: 469.8 kB / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002762/0.36, allocations: 131.9 kB / 1.059 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000288/0.3603, allocations: 147.3 kB / 1.059 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002621/0.3605, allocations: 171.2 kB / 1.059 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.673e-05/0.3606, allocations: 27.94 kB / 1.059 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.025e-05/0.3607, allocations: 24 kB / 1.059 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.3608, allocations: 91.61 kB / 1.06 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002285/0.3611, allocations: 203 kB / 1.06 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000396/0.3615, allocations: 458.8 kB / 1.06 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3615, allocations: 0 / 1.06 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.72e-07/0.3615, allocations: 0 / 1.06 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.543e-05/0.3615, allocations: 4 kB / 1.06 GB, free: 0.6914 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.001185/0.3627, allocations: 0.6968 MB / 1.061 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.3628, allocations: 15.91 kB / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.3629, allocations: 52.36 kB / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005334/0.3634, allocations: 370.1 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.3634, allocations: 12.81 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.864e-05/0.3635, allocations: 28.28 kB / 1.061 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000437/0.3639, allocations: 199.6 kB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.364, allocations: 3.984 kB / 1.061 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.364, allocations: 8 kB / 1.061 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.364, allocations: 4 kB / 1.061 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004227/0.3644, allocations: 181.5 kB / 1.062 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.3657, allocations: 0.8546 MB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003198/0.3661, allocations: 158.5 kB / 1.063 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.3663, allocations: 104.8 kB / 1.063 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.3663, allocations: 4 kB / 1.063 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.3664, allocations: 50.48 kB / 1.063 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 3.657e-06/0.3664, allocations: 3.984 kB / 1.063 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0006344/0.367, allocations: 250.6 kB / 1.063 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.3671, allocations: 55.41 kB / 1.063 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004841/0.3676, allocations: 417.7 kB / 1.063 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.3676, allocations: 25.7 kB / 1.064 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.3678, allocations: 216.1 kB / 1.064 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.401e-05/0.3678, allocations: 63.09 kB / 1.064 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.006e-05/0.3679, allocations: 37.64 kB / 1.064 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3681, allocations: 350.8 kB / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.3682, allocations: 51.97 kB / 1.064 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.3684, allocations: 51.97 kB / 1.064 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.3687, allocations: 143.4 kB / 1.064 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3687, allocations: 0 / 1.064 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003846/0.3691, allocations: 205.1 kB / 1.065 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3691, allocations: 4 kB / 1.065 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3691, allocations: 0 / 1.065 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.3691, allocations: 3.938 kB / 1.065 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.3694, allocations: 55.91 kB / 1.065 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3694, allocations: 0 / 1.065 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.3696, allocations: 27.83 kB / 1.065 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.3696, allocations: 4 kB / 1.065 GB, free: 11.8 MB / 0.8262 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.0001689/0.3698, allocations: 165.8 kB / 1.065 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.328e-05/0.3699, allocations: 35.53 kB / 1.065 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.552e-05/0.3699, allocations: 43.53 kB / 1.065 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.37, allocations: 4 kB / 1.065 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.37, allocations: 0 / 1.065 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.37, allocations: 7.984 kB / 1.065 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004334/0.3704, allocations: 373.4 kB / 1.065 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3704, allocations: 0 / 1.065 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002528/0.3707, allocations: 51.97 kB / 1.065 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3707, allocations: 0 / 1.065 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.3707, allocations: 11.92 kB / 1.065 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.3707, allocations: 8 kB / 1.065 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3707, allocations: 0 / 1.065 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006182/0.3714, allocations: 381.5 kB / 1.066 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.3715, allocations: 120.5 kB / 1.066 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.238e-05/0.3715, allocations: 15.88 kB / 1.066 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.3717, allocations: 7.984 kB / 1.066 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.3718, allocations: 11.98 kB / 1.066 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.3718, allocations: 4.062 kB / 1.066 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003565/0.3722, allocations: 311.1 kB / 1.066 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3722, allocations: 0 / 1.066 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003177/0.3725, allocations: 71.84 kB / 1.066 GB, free: 10.11 MB / 0.8262 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.0001558/0.3727, allocations: 107.2 kB / 1.066 GB, free: 10 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003674/0.373, allocations: 145.5 kB / 1.066 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.373, allocations: 4 kB / 1.066 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.3732, allocations: 75.91 kB / 1.067 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006424/0.3739, allocations: 87.47 kB / 1.067 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.3753, allocations: 0.8936 MB / 1.068 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.3757, allocations: 0.7993 MB / 1.068 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.848e-05/0.3758, allocations: 23.44 kB / 1.068 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.3758, allocations: 0 / 1.068 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of Templates: time 0.007507/0.3834, allocations: 4.363 MB / 1.073 GB, free: 3.613 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 -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