Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.0007904/0.00079, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.004898/0.004898, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.349/1.349, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.696/2.696, allocations: 462.7 MB / 0.7364 GB, free: 332 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003306, allocations: 8.719 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2814, allocations: 159.6 MB / 1.059 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.0013/0.2827, allocations: 1.014 MB / 1.06 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004129/0.2869, allocations: 3.735 MB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.769e-05/0.2869, allocations: 0 / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.27e-05/0.2869, allocations: 0 / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003816/0.2873, allocations: 99.55 kB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.2876, allocations: 95.11 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.272e-05/0.2877, allocations: 19.94 kB / 1.064 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.875e-05/0.2877, allocations: 7.984 kB / 1.064 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.832e-05/0.2878, allocations: 27.91 kB / 1.064 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.478e-05/0.2879, allocations: 35.84 kB / 1.064 GB, free: 484 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.2879, allocations: 4 kB / 1.064 GB, free: 480 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004276/0.2884, allocations: 303.6 kB / 1.064 GB, free: 176 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.878e-06/0.2884, allocations: 0 / 1.064 GB, free: 176 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.392e-05/0.2884, allocations: 37.62 kB / 1.064 GB, free: 132 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.2886, allocations: 124 kB / 1.064 GB, free: 8 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2886, allocations: 0 / 1.064 GB, free: 8 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2887, allocations: 0 / 1.064 GB, free: 8 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.2887, allocations: 0 / 1.064 GB, free: 8 kB / 0.8106 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.0003733/0.289, allocations: 347.5 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.2891, allocations: 12.03 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.34e-05/0.2891, allocations: 8.844 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.2892, allocations: 164.3 kB / 1.065 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.2893, allocations: 4.375 kB / 1.065 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.2893, allocations: 8.375 kB / 1.065 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.231e-05/0.2894, allocations: 33.83 kB / 1.065 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.2894, allocations: 3.984 kB / 1.065 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.2894, allocations: 3.984 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2894, allocations: 0 / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.701e-05/0.2895, allocations: 4 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.2896, allocations: 157.7 kB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.73e-05/0.2897, allocations: 26.52 kB / 1.065 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.918e-05/0.2897, allocations: 8.922 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002358/0.29, allocations: 93.09 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.29, allocations: 50.42 kB / 1.065 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.29, allocations: 3.938 kB / 1.065 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001352/0.2902, allocations: 37.7 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.2902, allocations: 51.41 kB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.679e-05/0.2903, allocations: 105.8 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.2903, allocations: 25.7 kB / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.885e-05/0.2903, allocations: 84.08 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.2904, allocations: 7.906 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.2904, allocations: 13.72 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.2905, allocations: 315 kB / 1.066 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.374e-05/0.2905, allocations: 4 kB / 1.066 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.257e-06/0.2905, allocations: 3.984 kB / 1.066 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.321e-05/0.2906, allocations: 16.86 kB / 1.066 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2906, allocations: 0 / 1.066 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.425e-05/0.2907, allocations: 41.55 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.2907, allocations: 4.781 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.2907, allocations: 96 / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.2907, allocations: 8 kB / 1.066 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.817e-05/0.2908, allocations: 3.938 kB / 1.066 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.2908, allocations: 3.984 kB / 1.066 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.561e-05/0.2908, allocations: 4 kB / 1.066 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-06/0.2908, allocations: 0 / 1.066 GB, free: 14.14 MB / 0.8262 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 6.188e-05/0.2909, allocations: 109.8 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.2909, allocations: 7.938 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.291, allocations: 48.81 kB / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.291, allocations: 0 / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.291, allocations: 0 / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-06/0.291, allocations: 0 / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.2911, allocations: 157.7 kB / 1.066 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2911, allocations: 0 / 1.066 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.23e-05/0.2912, allocations: 3.938 kB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.2912, allocations: 4 kB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.2912, allocations: 0 / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2912, allocations: 3.938 kB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2912, allocations: 0 / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.565e-05/0.2913, allocations: 73.09 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.2913, allocations: 84.95 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.2914, allocations: 256 / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.311e-05/0.2914, allocations: 7.938 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.488e-05/0.2914, allocations: 7.984 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.2914, allocations: 0 / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.566e-05/0.2914, allocations: 83.28 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2915, allocations: 4.031 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002202/0.2917, allocations: 23.94 kB / 1.066 GB, free: 13.43 MB / 0.8262 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.0002083/0.2919, allocations: 131.2 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.178e-05/0.292, allocations: 11.94 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.292, allocations: 0 / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.375e-05/0.292, allocations: 8 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.2922, allocations: 10.05 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002568/0.2925, allocations: 148.9 kB / 1.067 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.2927, allocations: 0.677 MB / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.703e-05/0.2928, allocations: 4 kB / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.603e-05/0.2928, allocations: 7.438 kB / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.2928, allocations: 4 kB / 1.067 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of Templates: time 0.002813/0.2956, allocations: 0.7249 MB / 1.068 GB, free: 11.66 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches