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.001211/0.001211, allocations: 106.9 kB / 16.36 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.00114/0.001141, allocations: 199.2 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.412/2.412, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001993, allocations: 56.06 kB / 0.8774 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3325, allocations: 153 MB / 1.027 GB, free: 2.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004278/0.3368, allocations: 3.055 MB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002589/0.3394, allocations: 2.152 MB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.3396, allocations: 8 kB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.341, allocations: 497.6 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002663/0.3412, allocations: 150.8 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001271/0.3414, allocations: 63.92 kB / 1.033 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004394/0.3418, allocations: 445.8 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002347/0.3421, allocations: 147.2 kB / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.3423, allocations: 159.3 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.3425, allocations: 179.2 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.194e-05/0.3425, allocations: 36 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.44e-05/0.3426, allocations: 36 kB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.3428, allocations: 103.6 kB / 1.034 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.3429, allocations: 211 kB / 1.034 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004731/0.3434, allocations: 0.5489 MB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3434, allocations: 0 / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3434, allocations: 0 / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.3435, 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.001009/0.3445, allocations: 0.6967 MB / 1.035 GB, free: 9.484 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.3445, allocations: 15.97 kB / 1.035 GB, free: 9.469 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.81e-05/0.3446, allocations: 48.31 kB / 1.035 GB, free: 9.422 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005291/0.3451, allocations: 378.1 kB / 1.035 GB, free: 9.012 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.3452, allocations: 16.81 kB / 1.035 GB, free: 8.992 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/0.3452, allocations: 20.38 kB / 1.035 GB, free: 8.973 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003909/0.3456, allocations: 207.6 kB / 1.036 GB, free: 8.766 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.3456, allocations: 0 / 1.036 GB, free: 8.766 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.3457, allocations: 12 kB / 1.036 GB, free: 8.754 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.3457, allocations: 4 kB / 1.036 GB, free: 8.75 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003597/0.3461, allocations: 169.5 kB / 1.036 GB, free: 8.582 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.3473, allocations: 0.8623 MB / 1.037 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.3476, allocations: 158.5 kB / 1.037 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.3479, allocations: 108.8 kB / 1.037 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.3479, allocations: 4 kB / 1.037 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.3479, allocations: 38.56 kB / 1.037 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 1.382e-06/0.3479, allocations: 0 / 1.037 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.0005624/0.3485, allocations: 249.4 kB / 1.037 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.3485, allocations: 51.41 kB / 1.037 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004534/0.349, allocations: 421.7 kB / 1.038 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.349, allocations: 33.69 kB / 1.038 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.3492, allocations: 204.2 kB / 1.038 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.731e-05/0.3492, allocations: 63.09 kB / 1.038 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.753e-05/0.3493, allocations: 33.72 kB / 1.038 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3494, allocations: 350.7 kB / 1.038 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.3496, allocations: 51.97 kB / 1.038 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.3497, allocations: 67.97 kB / 1.038 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/0.35, allocations: 130.5 kB / 1.039 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.35, allocations: 0 / 1.039 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003498/0.3504, allocations: 207 kB / 1.039 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3504, allocations: 4 kB / 1.039 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3504, allocations: 4 kB / 1.039 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3504, allocations: 3.938 kB / 1.039 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.3507, allocations: 63.89 kB / 1.039 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3507, allocations: 0 / 1.039 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.3508, allocations: 15.84 kB / 1.039 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.3508, allocations: 8 kB / 1.039 GB, free: 5.348 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.0001554/0.351, allocations: 169.7 kB / 1.039 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.68e-05/0.3511, allocations: 35.53 kB / 1.039 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.342e-05/0.3511, allocations: 43.53 kB / 1.039 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.3512, allocations: 8 kB / 1.039 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3512, allocations: 0 / 1.039 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.3512, allocations: 3.984 kB / 1.039 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003976/0.3516, allocations: 377.2 kB / 1.039 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.3516, allocations: 0 / 1.039 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002451/0.3519, allocations: 51.97 kB / 1.04 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3519, allocations: 3.984 kB / 1.04 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.3519, allocations: 7.938 kB / 1.04 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.3519, allocations: 0 / 1.04 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3519, allocations: 0 / 1.04 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005721/0.3525, allocations: 385.3 kB / 1.04 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.3526, allocations: 120.6 kB / 1.04 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.421e-05/0.3526, allocations: 7.938 kB / 1.04 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.3528, allocations: 11.98 kB / 1.04 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.3528, allocations: 11.98 kB / 1.04 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.3529, allocations: 8.062 kB / 1.04 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002945/0.3532, allocations: 303.1 kB / 1.04 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3532, allocations: 0 / 1.04 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002893/0.3535, allocations: 71.84 kB / 1.04 GB, free: 3.668 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.0001358/0.3536, allocations: 107.2 kB / 1.04 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003353/0.3539, allocations: 143.8 kB / 1.041 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.354, allocations: 8 kB / 1.041 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.3541, allocations: 75.91 kB / 1.041 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005133/0.3546, allocations: 108.2 kB / 1.041 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.3559, allocations: 0.7377 MB / 1.042 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.3562, allocations: 0.7951 MB / 1.042 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001192/0.3563, allocations: 42.95 kB / 1.042 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.973e-05/0.3564, allocations: 23.44 kB / 1.042 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of SimCode: time 3.91e-07/0.3564, allocations: 4 kB / 1.042 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of Templates: time 0.007672/0.3641, allocations: 3.941 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 cvode -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