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.001484/0.001484, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001389/0.001389, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.457/1.457, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.585/2.585, allocations: 437.1 MB / 0.7111 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 72.09 kB / 0.8699 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3572, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002731/0.36, allocations: 1.269 MB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004925/0.365, allocations: 3.776 MB / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.601e-05/0.365, allocations: 0 / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.086e-05/0.3651, allocations: 4 kB / 1.023 GB, free: 5.566 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0005283/0.3657, allocations: 91.48 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.3661, allocations: 135.9 kB / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.5e-05/0.3661, allocations: 27.92 kB / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.509e-05/0.3662, allocations: 3.984 kB / 1.023 GB, free: 5.312 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.3663, allocations: 31.86 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.3664, allocations: 35.91 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.3665, allocations: 0 / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005119/0.367, allocations: 303.6 kB / 1.024 GB, free: 4.949 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.367, allocations: 7.984 kB / 1.024 GB, free: 4.941 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.329e-05/0.367, allocations: 7.922 kB / 1.024 GB, free: 4.934 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.3673, allocations: 120 kB / 1.024 GB, free: 4.816 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3673, allocations: 0 / 1.024 GB, free: 4.816 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3673, allocations: 4 kB / 1.024 GB, free: 4.812 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.3673, allocations: 0 / 1.024 GB, free: 4.812 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000481/0.3678, allocations: 365.3 kB / 1.024 GB, free: 4.41 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.3679, allocations: 8.922 kB / 1.024 GB, free: 4.402 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.3679, allocations: 0.9375 kB / 1.024 GB, free: 4.402 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.368, allocations: 168.4 kB / 1.024 GB, free: 4.199 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.3681, allocations: 384 / 1.024 GB, free: 4.199 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.3681, allocations: 384 / 1.024 GB, free: 4.199 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.3682, allocations: 37.81 kB / 1.024 GB, free: 4.156 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.3682, allocations: 0 / 1.024 GB, free: 4.156 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.3682, allocations: 4 kB / 1.024 GB, free: 4.152 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.3682, allocations: 0 / 1.024 GB, free: 4.152 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.212e-05/0.3683, allocations: 11.94 kB / 1.024 GB, free: 4.141 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.3685, allocations: 153.7 kB / 1.024 GB, free: 3.941 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.19e-05/0.3685, allocations: 22.61 kB / 1.024 GB, free: 3.91 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.129e-05/0.3686, allocations: 4.859 kB / 1.024 GB, free: 3.902 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002789/0.3689, allocations: 109.1 kB / 1.025 GB, free: 3.777 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.3689, allocations: 34.5 kB / 1.025 GB, free: 3.734 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 2.805e-06/0.3689, allocations: 0 / 1.025 GB, free: 3.734 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001648/0.3691, allocations: 49.48 kB / 1.025 GB, free: 3.68 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.3691, allocations: 51.41 kB / 1.025 GB, free: 3.617 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.661e-05/0.3692, allocations: 109.8 kB / 1.025 GB, free: 3.5 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.3693, allocations: 25.7 kB / 1.025 GB, free: 3.469 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.334e-05/0.3693, allocations: 92.25 kB / 1.025 GB, free: 3.375 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.3694, allocations: 0 / 1.025 GB, free: 3.375 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.3694, allocations: 17.62 kB / 1.025 GB, free: 3.352 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.3695, allocations: 318.8 kB / 1.025 GB, free: 3.031 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.596e-05/0.3696, allocations: 4 kB / 1.025 GB, free: 3.027 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.857e-06/0.3696, allocations: 0 / 1.025 GB, free: 3.027 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.331e-05/0.3696, allocations: 12.86 kB / 1.025 GB, free: 3.012 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3696, allocations: 4.062 kB / 1.025 GB, free: 3.008 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.963e-05/0.3697, allocations: 45.58 kB / 1.025 GB, free: 2.957 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3697, allocations: 7.984 kB / 1.025 GB, free: 2.949 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3697, allocations: 0 / 1.025 GB, free: 2.949 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3697, allocations: 4 kB / 1.025 GB, free: 2.945 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.431e-05/0.3698, allocations: 0 / 1.025 GB, free: 2.945 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3698, allocations: 4 kB / 1.025 GB, free: 2.941 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.646e-05/0.3698, allocations: 0 / 1.025 GB, free: 2.941 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.3699, allocations: 3.984 kB / 1.025 GB, free: 2.938 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 (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 8.553e-05/0.3699, allocations: 109.9 kB / 1.025 GB, free: 2.82 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.37, allocations: 7.938 kB / 1.025 GB, free: 2.812 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.3701, allocations: 52.75 kB / 1.025 GB, free: 2.75 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3701, allocations: 0 / 1.025 GB, free: 2.75 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.3701, allocations: 0 / 1.025 GB, free: 2.75 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3701, allocations: 4 kB / 1.025 GB, free: 2.746 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.3703, allocations: 153.6 kB / 1.026 GB, free: 2.547 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.3703, allocations: 0 / 1.026 GB, free: 2.547 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.492e-05/0.3703, allocations: 7.938 kB / 1.026 GB, free: 2.539 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.614e-06/0.3703, allocations: 4.281 kB / 1.026 GB, free: 2.535 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.3703, allocations: 0 / 1.026 GB, free: 2.535 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.3703, allocations: 4 kB / 1.026 GB, free: 2.531 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3703, allocations: 0 / 1.026 GB, free: 2.531 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.2e-05/0.3704, allocations: 69.03 kB / 1.026 GB, free: 2.445 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.464e-05/0.3705, allocations: 85.05 kB / 1.026 GB, free: 2.344 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.3705, allocations: 7.922 kB / 1.026 GB, free: 2.336 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.036e-05/0.3705, allocations: 32 / 1.026 GB, free: 2.336 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.3706, allocations: 11.94 kB / 1.026 GB, free: 2.324 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.3706, allocations: 0 / 1.026 GB, free: 2.324 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.188e-05/0.3706, allocations: 83.22 kB / 1.026 GB, free: 2.242 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3706, allocations: 0 / 1.026 GB, free: 2.242 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002196/0.3708, allocations: 23.98 kB / 1.026 GB, free: 2.219 MB / 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 (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.0002048/0.3711, allocations: 127.2 kB / 1.026 GB, free: 2.086 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.357e-05/0.3711, allocations: 8 kB / 1.026 GB, free: 2.078 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3712, allocations: 4.062 kB / 1.026 GB, free: 2.074 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.591e-05/0.3712, allocations: 11.98 kB / 1.026 GB, free: 2.062 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.3714, allocations: 4 kB / 1.026 GB, free: 2.059 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003271/0.3717, allocations: 165.2 kB / 1.026 GB, free: 1.867 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.372, allocations: 0.6768 MB / 1.027 GB, free: 1.164 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.133e-05/0.3721, allocations: 15.5 kB / 1.027 GB, free: 1.148 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.3721, allocations: 0 / 1.027 GB, free: 1.148 MB / 0.795 GB Notification: Performance of Templates: time 0.002348/0.3744, allocations: 0.7226 MB / 1.028 GB, free: 440 kB / 0.795 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/jenkins1/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