Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001445, allocations: 100 kB / 16.27 MB, free: 6.414 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.001255/0.001255, allocations: 188.7 kB / 17.2 MB, free: 5.953 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.443/1.443, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.752/2.752, allocations: 437.1 MB / 0.711 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002618/0.002618, allocations: 64.25 kB / 0.8699 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3522, allocations: 151.6 MB / 1.018 GB, free: 10.58 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.003124/0.3554, allocations: 1.477 MB / 1.019 GB, free: 9.086 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.357, allocations: 0.9164 MB / 1.02 GB, free: 8.164 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.091e-05/0.3571, allocations: 0 / 1.02 GB, free: 8.164 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.3573, allocations: 47.75 kB / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.457e-05/0.3573, allocations: 23.84 kB / 1.02 GB, free: 8.094 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005539/0.3579, allocations: 197 kB / 1.021 GB, free: 7.906 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.412e-05/0.358, allocations: 47.73 kB / 1.021 GB, free: 7.859 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.815e-05/0.3581, allocations: 11.98 kB / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.658e-05/0.3581, allocations: 19.86 kB / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.93e-05/0.3582, allocations: 19.88 kB / 1.021 GB, free: 7.809 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.3582, allocations: 0 / 1.021 GB, free: 7.809 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003214/0.3585, allocations: 143.8 kB / 1.021 GB, free: 7.668 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.344e-05/0.3585, allocations: 3.984 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.3586, allocations: 19.88 kB / 1.021 GB, free: 7.645 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.3588, allocations: 123.8 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3588, allocations: 0 / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3588, allocations: 0 / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.3589, allocations: 8 kB / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004237/0.3593, allocations: 365.5 kB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.3593, allocations: 12.92 kB / 1.021 GB, free: 7.102 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.636e-05/0.3594, allocations: 80.12 kB / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.3597, allocations: 263.5 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.88e-05/0.3597, allocations: 154.9 kB / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.854e-05/0.3598, allocations: 154.9 kB / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.608e-05/0.3599, allocations: 105.3 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.347e-05/0.3599, allocations: 75.28 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-05/0.36, allocations: 150.6 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.219e-05/0.3601, allocations: 150.6 kB / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.407e-05/0.3601, allocations: 154.5 kB / 1.023 GB, free: 5.789 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.3605, allocations: 469.9 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.3606, allocations: 173.1 kB / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.814e-05/0.3607, allocations: 80.14 kB / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.3607, allocations: 75.28 kB / 1.023 GB, free: 4.945 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.019e-05/0.3608, allocations: 117.7 kB / 1.023 GB, free: 4.82 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.3608, allocations: 0 / 1.023 GB, free: 4.82 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 8.571e-05/0.3609, allocations: 33.61 kB / 1.023 GB, free: 4.781 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.614e-05/0.3609, allocations: 126.7 kB / 1.024 GB, free: 4.645 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.3611, allocations: 132.5 kB / 1.024 GB, free: 4.508 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.3611, allocations: 25.7 kB / 1.024 GB, free: 4.477 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.958e-05/0.3612, allocations: 100 kB / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-06/0.3612, allocations: 7.875 kB / 1.024 GB, free: 4.367 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.3612, allocations: 21.72 kB / 1.024 GB, free: 4.34 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3614, allocations: 322.8 kB / 1.024 GB, free: 4.016 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.926e-05/0.3614, allocations: 0 / 1.024 GB, free: 4.016 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.665e-05/0.3614, allocations: 4 kB / 1.024 GB, free: 4.012 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.682e-05/0.3615, allocations: 16.8 kB / 1.024 GB, free: 3.992 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3615, allocations: 0 / 1.024 GB, free: 3.992 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001315/0.3616, allocations: 49.62 kB / 1.024 GB, free: 3.938 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.3616, allocations: 8 kB / 1.024 GB, free: 3.93 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/0.3617, allocations: 8.062 kB / 1.024 GB, free: 3.922 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3617, allocations: 0 / 1.024 GB, free: 3.922 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-07/0.3617, allocations: 0 / 1.024 GB, free: 3.922 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3617, allocations: 0 / 1.024 GB, free: 3.922 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.349e-05/0.3617, allocations: 7.906 kB / 1.024 GB, free: 3.914 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.3617, allocations: 0 / 1.024 GB, free: 3.914 MB / 0.795 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001152/0.3619, allocations: 185.1 kB / 1.024 GB, free: 3.723 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.542e-05/0.362, allocations: 116.8 kB / 1.025 GB, free: 3.602 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.048e-05/0.362, allocations: 116.9 kB / 1.025 GB, free: 3.48 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.808e-05/0.3621, allocations: 184.2 kB / 1.025 GB, free: 3.293 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.773e-05/0.3622, allocations: 176.3 kB / 1.025 GB, free: 3.113 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.621e-05/0.3623, allocations: 180.2 kB / 1.025 GB, free: 2.93 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002771/0.3626, allocations: 417.2 kB / 1.026 GB, free: 2.465 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.273e-05/0.3626, allocations: 101 kB / 1.026 GB, free: 2.359 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.354e-05/0.3627, allocations: 116.9 kB / 1.026 GB, free: 2.238 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.107e-05/0.3627, allocations: 176.3 kB / 1.026 GB, free: 2.059 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.621e-05/0.3628, allocations: 180.2 kB / 1.026 GB, free: 1.875 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.003e-05/0.3629, allocations: 180.2 kB / 1.026 GB, free: 1.691 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.259e-05/0.363, allocations: 184.3 kB / 1.026 GB, free: 1.504 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.3632, allocations: 307.7 kB / 1.027 GB, free: 1.18 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.3633, allocations: 193.9 kB / 1.027 GB, free: 0.9648 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.426e-05/0.3634, allocations: 188.2 kB / 1.027 GB, free: 0.7734 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.747e-05/0.3635, allocations: 101 kB / 1.027 GB, free: 0.668 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.774e-05/0.3636, allocations: 184.2 kB / 1.027 GB, free: 492 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.373e-05/0.3637, allocations: 105 kB / 1.027 GB, free: 380 kB / 0.795 GB Notification: Performance of sorting global known variables: time 7.48e-05/0.3637, allocations: 103.3 kB / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of sort global known variables: time 1.933e-06/0.3637, allocations: 0 / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002868/0.364, allocations: 35.94 kB / 1.028 GB, free: 240 kB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0003187/0.3644, allocations: 214.4 kB / 1.028 GB, free: 12 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001252/0.3645, allocations: 37.7 kB / 1.028 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3645, allocations: 8 kB / 1.028 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.864e-06/0.3645, allocations: 0 / 1.028 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005557/0.3651, allocations: 472.9 kB / 1.028 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003836/0.3655, allocations: 244.8 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.3658, allocations: 0.6885 MB / 1.029 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.739e-05/0.3658, allocations: 7.438 kB / 1.029 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.3658, allocations: 3.938 kB / 1.029 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of Templates: time 0.003299/0.3691, allocations: 1.231 MB / 1.03 GB, free: 13.27 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches