Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007361/0.00736, allocations: 101.2 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.001579/0.00158, allocations: 195.8 kB / 16.67 MB, free: 5.977 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.426/2.426, allocations: 390.2 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.75 kB / 0.9509 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3447, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005484/0.3503, allocations: 3.051 MB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002601/0.3529, allocations: 2.137 MB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001709/0.3531, allocations: 11.94 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.3545, allocations: 0.4977 MB / 1.094 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002487/0.3548, allocations: 138.9 kB / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001185/0.3549, allocations: 67.92 kB / 1.094 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004392/0.3554, allocations: 451.1 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002473/0.3556, allocations: 151 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.3558, allocations: 163.3 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/0.3561, allocations: 175.1 kB / 1.095 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.591e-05/0.3561, allocations: 32 kB / 1.095 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.089e-05/0.3562, allocations: 36 kB / 1.095 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.3563, allocations: 99.66 kB / 1.095 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.3565, allocations: 218.9 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000482/0.357, allocations: 0.5489 MB / 1.096 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.357, allocations: 0 / 1.096 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.443e-06/0.357, allocations: 0 / 1.096 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.357, allocations: 0 / 1.096 GB, free: 9.703 MB / 0.8575 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.001002/0.358, allocations: 0.7006 MB / 1.096 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.3581, allocations: 16.02 kB / 1.096 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.13e-05/0.3582, allocations: 44.38 kB / 1.096 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000558/0.3587, allocations: 378.1 kB / 1.097 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.3587, allocations: 12.81 kB / 1.097 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.609e-05/0.3588, allocations: 20.38 kB / 1.097 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004015/0.3592, allocations: 211.6 kB / 1.097 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.3592, allocations: 3.984 kB / 1.097 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.3593, allocations: 8 kB / 1.097 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3593, allocations: 4 kB / 1.097 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000364/0.3596, allocations: 165.7 kB / 1.097 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.3608, allocations: 0.8583 MB / 1.098 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.3611, allocations: 158.5 kB / 1.098 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.3613, allocations: 112.8 kB / 1.098 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.3613, allocations: 0 / 1.098 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.3613, allocations: 42.5 kB / 1.098 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.032e-06/0.3613, allocations: 0 / 1.098 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0006016/0.362, allocations: 255.4 kB / 1.098 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.362, allocations: 55.34 kB / 1.098 GB, free: 6.484 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004379/0.3624, allocations: 421.7 kB / 1.099 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.3625, allocations: 25.7 kB / 1.099 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.3626, allocations: 208.2 kB / 1.099 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.782e-05/0.3627, allocations: 67.03 kB / 1.099 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.916e-05/0.3627, allocations: 29.72 kB / 1.099 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.3629, allocations: 346.8 kB / 1.1 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.363, allocations: 55.97 kB / 1.1 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.3632, allocations: 59.95 kB / 1.1 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/0.3635, allocations: 134.1 kB / 1.1 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3635, allocations: 0 / 1.1 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003657/0.3638, allocations: 211.4 kB / 1.1 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.3639, allocations: 4 kB / 1.1 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3639, allocations: 4 kB / 1.1 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3639, allocations: 3.938 kB / 1.1 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.3642, allocations: 59.89 kB / 1.1 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3642, allocations: 0 / 1.1 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.3643, allocations: 23.84 kB / 1.1 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.3643, allocations: 4 kB / 1.1 GB, free: 4.824 MB / 0.8575 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.0001546/0.3645, allocations: 161.8 kB / 1.1 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.499e-05/0.3645, allocations: 35.53 kB / 1.1 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.262e-05/0.3646, allocations: 47.52 kB / 1.1 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.3646, allocations: 4 kB / 1.1 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3647, allocations: 0 / 1.1 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3647, allocations: 0 / 1.1 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003832/0.365, allocations: 369.4 kB / 1.101 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3651, allocations: 0 / 1.101 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.3653, allocations: 67.83 kB / 1.101 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3653, allocations: 0 / 1.101 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.3654, allocations: 7.922 kB / 1.101 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3654, allocations: 0 / 1.101 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3654, allocations: 0 / 1.101 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000604/0.366, allocations: 385.3 kB / 1.101 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.739e-05/0.3661, allocations: 120.6 kB / 1.101 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.315e-05/0.3661, allocations: 7.922 kB / 1.101 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.3663, allocations: 8 kB / 1.101 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.3663, allocations: 11.98 kB / 1.101 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.3664, allocations: 8 kB / 1.101 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000306/0.3667, allocations: 299.1 kB / 1.102 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3667, allocations: 4.062 kB / 1.102 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002983/0.367, allocations: 75.84 kB / 1.102 GB, free: 3.145 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.0001304/0.3671, allocations: 103.2 kB / 1.102 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003661/0.3675, allocations: 155.7 kB / 1.102 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3675, allocations: 0 / 1.102 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.3677, allocations: 75.91 kB / 1.102 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005354/0.3682, allocations: 100.5 kB / 1.102 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.3694, allocations: 0.7458 MB / 1.103 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.3698, allocations: 0.7989 MB / 1.104 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001191/0.3699, allocations: 30.97 kB / 1.104 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.223e-05/0.37, allocations: 27.44 kB / 1.104 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.37, allocations: 0 / 1.104 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of Templates: time 0.00839/0.3784, allocations: 4.099 MB / 1.108 GB, free: 13.07 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches