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.001895/0.001895, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002427/0.002427, allocations: 190.5 kB / 16.25 MB, free: 6.621 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.455/1.455, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.978/2.978, allocations: 482.2 MB / 0.7542 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.003213/0.003213, allocations: 73.84 kB / 0.9232 GB, free: 29.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3501, allocations: 162.2 MB / 1.082 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00481/0.3549, allocations: 3.078 MB / 1.085 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002977/0.3579, allocations: 2.114 MB / 1.087 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000276/0.3582, allocations: 4 kB / 1.087 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001627/0.3599, allocations: 494 kB / 1.087 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003386/0.3602, allocations: 131.1 kB / 1.087 GB, free: 7.832 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001414/0.3604, allocations: 47.97 kB / 1.087 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005214/0.3609, allocations: 437.9 kB / 1.088 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002691/0.3612, allocations: 151.2 kB / 1.088 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002294/0.3614, allocations: 151.4 kB / 1.088 GB, free: 7.055 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.3617, allocations: 195.1 kB / 1.088 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.187e-05/0.3617, allocations: 36 kB / 1.088 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.103e-05/0.3618, allocations: 32 kB / 1.088 GB, free: 6.797 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.3619, allocations: 99.61 kB / 1.088 GB, free: 6.699 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002077/0.3622, allocations: 215 kB / 1.089 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000549/0.3627, allocations: 0.5411 MB / 1.089 GB, free: 5.945 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3627, allocations: 3.938 kB / 1.089 GB, free: 5.941 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.444e-06/0.3627, allocations: 0 / 1.089 GB, free: 5.941 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.3628, allocations: 0 / 1.089 GB, free: 5.941 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.001149/0.3639, allocations: 0.7006 MB / 1.09 GB, free: 5.188 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.364, allocations: 8.031 kB / 1.09 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.785e-05/0.3641, allocations: 44.38 kB / 1.09 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004993/0.3646, allocations: 378 kB / 1.09 GB, free: 4.727 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.3646, allocations: 20.81 kB / 1.09 GB, free: 4.707 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.3646, allocations: 16.38 kB / 1.09 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004383/0.3651, allocations: 207.6 kB / 1.09 GB, free: 4.484 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.3651, allocations: 0 / 1.09 GB, free: 4.484 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.3652, allocations: 8 kB / 1.09 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.3652, allocations: 8 kB / 1.091 GB, free: 4.469 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003951/0.3656, allocations: 161.6 kB / 1.091 GB, free: 4.312 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.3669, allocations: 0.8661 MB / 1.092 GB, free: 3.375 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/0.3672, allocations: 154.6 kB / 1.092 GB, free: 3.215 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.3675, allocations: 108.8 kB / 1.092 GB, free: 3.105 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.3675, allocations: 0 / 1.092 GB, free: 3.105 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.3675, allocations: 46.48 kB / 1.092 GB, free: 3.051 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.3675, allocations: 0 / 1.092 GB, free: 3.051 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.0006582/0.3682, allocations: 254.6 kB / 1.092 GB, free: 2.797 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.3682, allocations: 51.41 kB / 1.092 GB, free: 2.734 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000508/0.3688, allocations: 417.7 kB / 1.092 GB, free: 2.32 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.3688, allocations: 25.7 kB / 1.093 GB, free: 2.289 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.369, allocations: 212.1 kB / 1.093 GB, free: 2.078 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.894e-05/0.369, allocations: 59.11 kB / 1.093 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.196e-05/0.3691, allocations: 29.7 kB / 1.093 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3693, allocations: 354.8 kB / 1.093 GB, free: 1.629 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.3694, allocations: 55.97 kB / 1.093 GB, free: 1.574 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.3696, allocations: 57.8 kB / 1.093 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.3699, allocations: 138.3 kB / 1.093 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3699, allocations: 0 / 1.093 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004107/0.3703, allocations: 215.2 kB / 1.094 GB, free: 1.168 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.3704, allocations: 4 kB / 1.094 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3704, allocations: 0 / 1.094 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.3704, allocations: 3.938 kB / 1.094 GB, free: 1.16 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.3707, allocations: 55.91 kB / 1.094 GB, free: 1.105 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.3707, allocations: 0 / 1.094 GB, free: 1.105 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.3709, allocations: 23.83 kB / 1.094 GB, free: 1.082 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.3709, allocations: 8 kB / 1.094 GB, free: 1.074 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.0001749/0.3711, allocations: 161.8 kB / 1.094 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.341e-05/0.3711, allocations: 35.53 kB / 1.094 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.059e-05/0.3712, allocations: 43.53 kB / 1.094 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.3712, allocations: 4 kB / 1.094 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.3712, allocations: 0 / 1.094 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3713, allocations: 7.922 kB / 1.094 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004532/0.3717, allocations: 373.3 kB / 1.094 GB, free: 408 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.3717, allocations: 4 kB / 1.094 GB, free: 404 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.372, allocations: 63.91 kB / 1.094 GB, free: 340 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.372, allocations: 0 / 1.094 GB, free: 340 kB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.372, allocations: 3.938 kB / 1.094 GB, free: 336 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.372, allocations: 0 / 1.094 GB, free: 336 kB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.3721, allocations: 0 / 1.094 GB, free: 336 kB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006424/0.3727, allocations: 384.7 kB / 1.095 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.3728, allocations: 124.6 kB / 1.095 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.825e-05/0.3729, allocations: 3.938 kB / 1.095 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.3731, allocations: 15.98 kB / 1.095 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.3731, allocations: 7.984 kB / 1.095 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.3731, allocations: 8 kB / 1.095 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003481/0.3735, allocations: 303.1 kB / 1.095 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3735, allocations: 0 / 1.095 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003216/0.3738, allocations: 71.91 kB / 1.095 GB, free: 15.4 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.0001434/0.374, allocations: 107.2 kB / 1.095 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004097/0.3744, allocations: 151.9 kB / 1.095 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.3744, allocations: 0 / 1.095 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.3746, allocations: 89.09 kB / 1.096 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006482/0.3753, allocations: 101.9 kB / 1.096 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.3767, allocations: 0.8628 MB / 1.096 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.3771, allocations: 0.7951 MB / 1.097 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001428/0.3773, allocations: 38.95 kB / 1.097 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.109e-05/0.3774, allocations: 27.44 kB / 1.097 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of SimCode: time 3.01e-07/0.3774, allocations: 0 / 1.097 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of Templates: time 0.008959/0.3863, allocations: 3.873 MB / 1.101 GB, free: 9.422 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=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/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