Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.ConvectionResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 111.9 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002088/0.002089, allocations: 198.1 kB / 16.54 MB, free: 6.703 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.465/1.465, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.746/2.746, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 67.91 kB / 0.8692 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5596/0.5616, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002598/0.5643, allocations: 1.294 MB / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004788/0.5691, allocations: 3.748 MB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.188e-05/0.5691, allocations: 0 / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.676e-05/0.5692, allocations: 3.938 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004084/0.5696, allocations: 99.48 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.5699, allocations: 144.6 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.17e-05/0.57, allocations: 27.86 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.676e-05/0.5701, allocations: 7.984 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.264e-05/0.5702, allocations: 19.92 kB / 1.023 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.5703, allocations: 43.83 kB / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.157e-06/0.5703, allocations: 0 / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000487/0.5708, allocations: 307.6 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.906e-06/0.5708, allocations: 0 / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.384e-05/0.5708, allocations: 7.938 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.571, allocations: 125.7 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.5711, allocations: 0 / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5711, allocations: 0 / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.5711, allocations: 0 / 1.023 GB, free: 12.63 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004171/0.5715, allocations: 348.9 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.5715, allocations: 12.03 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.5716, allocations: 16.83 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.5717, allocations: 168.3 kB / 1.024 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.5717, allocations: 4.312 kB / 1.024 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-06/0.5718, allocations: 384 / 1.024 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.783e-05/0.5718, allocations: 33.83 kB / 1.024 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.5719, allocations: 0 / 1.024 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.5719, allocations: 4 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.5719, allocations: 0 / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.387e-05/0.5719, allocations: 11.98 kB / 1.024 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001746/0.5721, allocations: 153.7 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.441e-05/0.5722, allocations: 26.52 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.155e-05/0.5722, allocations: 8.922 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002337/0.5724, allocations: 93.09 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/0.5725, allocations: 46.5 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.5725, allocations: 0 / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001454/0.5726, allocations: 41.69 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.5727, allocations: 51.41 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.432e-05/0.5728, allocations: 105.8 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.5728, allocations: 25.7 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.5729, allocations: 84.08 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.5729, allocations: 15.84 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.5729, allocations: 13.84 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.5731, allocations: 314.8 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.238e-05/0.5731, allocations: 0 / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.62e-05/0.5731, allocations: 11.98 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.048e-05/0.5732, allocations: 8.859 kB / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.5732, allocations: 0 / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.312e-05/0.5732, allocations: 49.55 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.5733, allocations: 8.094 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.5733, allocations: 0 / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.5733, allocations: 0 / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.901e-05/0.5733, allocations: 7.938 kB / 1.025 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.5733, allocations: 3.984 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.544e-05/0.5734, allocations: 0 / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.5734, allocations: 0 / 1.025 GB, free: 10.75 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 (2): * Single equations (assignments): 2 * 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 7.664e-05/0.5735, allocations: 110.5 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.652e-05/0.5735, allocations: 3.938 kB / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.5736, allocations: 52.81 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.5736, allocations: 0 / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.5736, allocations: 4.188 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.5736, allocations: 0 / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.5738, allocations: 161.7 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.5738, allocations: 0 / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.556e-05/0.5738, allocations: 7.938 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.5738, allocations: 0 / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.5738, allocations: 0 / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5738, allocations: 3.938 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.5738, allocations: 8.031 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.557e-05/0.5739, allocations: 61.12 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.209e-05/0.574, allocations: 88.95 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.574, allocations: 0 / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.41e-05/0.574, allocations: 0 / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.76e-05/0.5741, allocations: 7.984 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.5741, allocations: 0 / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.18e-05/0.5741, allocations: 83.31 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.024e-06/0.5741, allocations: 0 / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000212/0.5743, allocations: 31.88 kB / 1.025 GB, free: 10.04 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 (2): * Single equations (assignments): 2 * 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.0001872/0.5745, allocations: 127.2 kB / 1.025 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.029e-05/0.5746, allocations: 15.94 kB / 1.025 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5746, allocations: 0 / 1.025 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.49e-05/0.5746, allocations: 4 kB / 1.025 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.5748, allocations: 12.05 kB / 1.025 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002676/0.5751, allocations: 139.5 kB / 1.025 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.5754, allocations: 0.6729 MB / 1.026 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.823e-05/0.5755, allocations: 8 kB / 1.026 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.551e-05/0.5755, allocations: 7.438 kB / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.5755, allocations: 4 kB / 1.026 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of Templates: time 0.003043/0.5785, allocations: 0.7382 MB / 1.027 GB, free: 8.266 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches