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.001657/0.001657, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001752/0.001752, allocations: 197.2 kB / 16.14 MB, free: 6.633 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 / 239.8 MB, free: 4.602 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.752/2.752, allocations: 437 MB / 0.7099 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 67.89 kB / 0.8686 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5772/0.5792, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002479/0.5818, allocations: 1.347 MB / 1.018 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004743/0.5865, allocations: 3.771 MB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.725e-05/0.5866, allocations: 0 / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.709e-05/0.5866, allocations: 0 / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003933/0.587, allocations: 87.55 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.5873, allocations: 99.69 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.181e-05/0.5874, allocations: 23.92 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 2.665e-05/0.5874, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.5875, allocations: 31.91 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.736e-05/0.5876, allocations: 43.83 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.017e-06/0.5876, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004784/0.5881, allocations: 299.6 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.739e-06/0.5881, allocations: 0 / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 1.999e-05/0.5882, allocations: 7.938 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.5884, allocations: 125.7 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5884, allocations: 0 / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.22e-07/0.5884, allocations: 0 / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.5884, allocations: 0 / 1.022 GB, free: 12.93 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.0004189/0.5888, allocations: 359.5 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.5889, allocations: 12.03 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.59e-05/0.5889, allocations: 0.9375 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.589, allocations: 168.3 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.5891, allocations: 384 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.5891, allocations: 4.375 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.81e-05/0.5892, allocations: 33.83 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.5892, allocations: 0 / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.5892, allocations: 0 / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.5892, allocations: 4 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.37e-05/0.5892, allocations: 7.984 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.5894, allocations: 153.7 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.909e-05/0.5895, allocations: 34.48 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.422e-05/0.5895, allocations: 8.922 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002575/0.5898, allocations: 101.1 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.5898, allocations: 38.5 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.073e-06/0.5898, allocations: 0 / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001462/0.59, allocations: 49.59 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.59, allocations: 51.41 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.523e-05/0.5901, allocations: 101.8 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.5902, allocations: 29.64 kB / 1.023 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.36e-05/0.5902, allocations: 92.2 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.5902, allocations: 4 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.5903, allocations: 13.62 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.5904, allocations: 318.8 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.222e-05/0.5904, allocations: 0 / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.325e-05/0.5905, allocations: 11.98 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.986e-05/0.5905, allocations: 8.859 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5905, allocations: 0 / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.291e-05/0.5906, allocations: 49.7 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.5906, allocations: 4 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.5906, allocations: 0 / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.5906, allocations: 0 / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.394e-05/0.5907, allocations: 7.938 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.5907, allocations: 0 / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.864e-05/0.5907, allocations: 3.984 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.5907, allocations: 4 kB / 1.024 GB, free: 11.05 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.53e-05/0.5908, allocations: 105.8 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.5908, allocations: 7.969 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.591, allocations: 48.81 kB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.591, allocations: 0 / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.591, allocations: 0 / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.591, allocations: 0 / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.5911, allocations: 153.7 kB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5911, allocations: 0 / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.394e-05/0.5912, allocations: 7.938 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.5912, allocations: 0 / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.5912, allocations: 11.97 kB / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5912, allocations: 0 / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.5912, allocations: 0 / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.915e-05/0.5913, allocations: 65.03 kB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-05/0.5914, allocations: 85.05 kB / 1.024 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.5914, allocations: 0 / 1.024 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.757e-05/0.5914, allocations: 4.25 kB / 1.024 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.676e-05/0.5914, allocations: 8.016 kB / 1.024 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.5914, allocations: 8 kB / 1.024 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.425e-05/0.5915, allocations: 79.28 kB / 1.024 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5915, allocations: 3.938 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002083/0.5917, allocations: 20 kB / 1.025 GB, free: 10.35 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.000205/0.5919, allocations: 135.7 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.853e-05/0.592, allocations: 15.94 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.592, allocations: 3.938 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.299e-05/0.5921, allocations: 8.062 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.5923, allocations: 7.938 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/0.5926, allocations: 125.5 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.5929, allocations: 0.677 MB / 1.025 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.502e-05/0.593, allocations: 8.062 kB / 1.025 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.687e-05/0.593, allocations: 7.438 kB / 1.025 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.593, allocations: 0 / 1.025 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of Templates: time 0.003112/0.5961, allocations: 0.7388 MB / 1.026 GB, free: 8.578 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