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.00137/0.00137, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001345/0.001346, allocations: 194.1 kB / 16.26 MB, free: 6.637 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.444/1.444, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.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.962/2.962, allocations: 437 MB / 0.7101 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003046/0.003046, allocations: 67.88 kB / 0.8688 GB, free: 5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5735/0.5765, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002807/0.5794, allocations: 1.53 MB / 1.018 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.5808, allocations: 0.9113 MB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.317e-05/0.5809, allocations: 7.938 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.5812, allocations: 43.83 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.297e-05/0.5812, allocations: 19.84 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005338/0.5818, allocations: 174.9 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.599e-05/0.5819, allocations: 55.67 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.787e-05/0.5819, allocations: 7.984 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.706e-05/0.582, allocations: 15.88 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.73e-05/0.582, allocations: 19.88 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.5821, allocations: 0 / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003301/0.5824, allocations: 147.8 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.5824, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.233e-05/0.5825, allocations: 23.86 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.5827, allocations: 121.7 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.5827, allocations: 3.938 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5827, allocations: 8 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.5827, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 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.0004412/0.5832, allocations: 371.2 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.5832, allocations: 8.031 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.992e-05/0.5833, allocations: 88.06 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.5835, allocations: 259.5 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.2e-05/0.5836, allocations: 150.9 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.314e-05/0.5837, allocations: 154.9 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.529e-05/0.5838, allocations: 105.3 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.751e-05/0.5838, allocations: 79.27 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.128e-05/0.5839, allocations: 150.6 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.295e-05/0.584, allocations: 154.6 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.149e-05/0.5841, allocations: 158.5 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003679/0.5845, allocations: 465.9 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.5846, allocations: 169.1 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.001e-05/0.5846, allocations: 80.14 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.558e-05/0.5847, allocations: 75.28 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.311e-05/0.5847, allocations: 117.7 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.5847, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.093e-05/0.5848, allocations: 37.59 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.187e-05/0.5849, allocations: 126.7 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.5851, allocations: 131.5 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.5851, allocations: 29.7 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.766e-05/0.5852, allocations: 88.14 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-06/0.5852, allocations: 4 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.5852, allocations: 17.7 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.5854, allocations: 318.8 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/0.5855, allocations: 3.938 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.795e-05/0.5855, allocations: 8 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.897e-05/0.5855, allocations: 16.78 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5855, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001238/0.5857, allocations: 49.55 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.5857, allocations: 12.06 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.5857, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.5857, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.5857, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.5857, allocations: 4 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.15e-05/0.5858, allocations: 3.984 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.5858, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 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.0001266/0.5859, allocations: 189.7 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.344e-05/0.586, allocations: 112.8 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.652e-05/0.5861, allocations: 112.9 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.823e-05/0.5861, allocations: 184.2 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-05/0.5862, allocations: 180.3 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.732e-05/0.5863, allocations: 184.3 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/0.5866, allocations: 409.2 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-05/0.5867, allocations: 108.9 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.336e-05/0.5868, allocations: 116.8 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.876e-05/0.5868, allocations: 180.3 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.878e-05/0.5869, allocations: 180.3 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.058e-05/0.587, allocations: 180.2 kB / 1.025 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.811e-05/0.5871, allocations: 180.3 kB / 1.025 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.5873, allocations: 315.9 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.5874, allocations: 194 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.5875, allocations: 180.2 kB / 1.026 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.5877, allocations: 105 kB / 1.026 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.969e-05/0.5878, allocations: 184.2 kB / 1.026 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.899e-05/0.5878, allocations: 105 kB / 1.026 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.371e-05/0.5879, allocations: 101 kB / 1.026 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5879, allocations: 0 / 1.026 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002963/0.5882, allocations: 31.94 kB / 1.026 GB, free: 8.426 MB / 0.7794 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.0003341/0.5886, allocations: 222.5 kB / 1.027 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001309/0.5887, allocations: 45.62 kB / 1.027 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.5887, allocations: 4 kB / 1.027 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.234e-06/0.5887, allocations: 3.938 kB / 1.027 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005586/0.5893, allocations: 470.7 kB / 1.027 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003704/0.5897, allocations: 227.1 kB / 1.027 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.59, allocations: 0.6846 MB / 1.028 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.876e-05/0.59, allocations: 256 / 1.028 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.757e-05/0.5901, allocations: 11.44 kB / 1.028 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5901, allocations: 7.938 kB / 1.028 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of Templates: time 0.004339/0.5944, allocations: 1.51 MB / 1.03 GB, free: 5.203 MB / 0.7794 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/jenkins/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