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.008461/0.008461, allocations: 101.3 kB / 15.73 MB, free: 6.012 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.002124/0.002124, allocations: 194.4 kB / 16.67 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.664/2.664, allocations: 461.9 MB / 0.7348 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 59.91 kB / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2836, allocations: 157.4 MB / 1.208 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002042/0.2857, allocations: 1.289 MB / 1.209 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003937/0.2897, allocations: 3.763 MB / 1.213 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.731e-05/0.2897, allocations: 0 / 1.213 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.277e-05/0.2897, allocations: 0 / 1.213 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003884/0.2901, allocations: 99.48 kB / 1.213 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.2905, allocations: 147.5 kB / 1.213 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.065e-05/0.2905, allocations: 23.92 kB / 1.213 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.144e-05/0.2906, allocations: 7.938 kB / 1.213 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.407e-05/0.2907, allocations: 19.91 kB / 1.213 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.499e-05/0.2908, allocations: 43.83 kB / 1.213 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.237e-06/0.2908, allocations: 0 / 1.213 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004603/0.2913, allocations: 307.6 kB / 1.213 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.021e-05/0.2913, allocations: 4 kB / 1.213 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.2913, allocations: 7.938 kB / 1.213 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.2915, allocations: 127.7 kB / 1.213 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2915, allocations: 0 / 1.213 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2915, allocations: 0 / 1.213 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.2915, allocations: 0 / 1.213 GB, free: 3.848 MB / 0.9669 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.0003542/0.2919, allocations: 351.4 kB / 1.214 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.2919, allocations: 8.625 kB / 1.214 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.442e-05/0.2919, allocations: 8.875 kB / 1.214 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.2921, allocations: 176.3 kB / 1.214 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.2921, allocations: 384 / 1.214 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.2921, allocations: 384 / 1.214 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.932e-05/0.2922, allocations: 33.83 kB / 1.214 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.2922, allocations: 0 / 1.214 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.2922, allocations: 0 / 1.214 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.2922, allocations: 4 kB / 1.214 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.079e-05/0.2922, allocations: 4 kB / 1.214 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001459/0.2924, allocations: 157.7 kB / 1.214 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.01e-05/0.2925, allocations: 26.52 kB / 1.214 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.117e-05/0.2925, allocations: 12.91 kB / 1.214 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002413/0.2927, allocations: 93.09 kB / 1.214 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.2928, allocations: 34.5 kB / 1.214 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2928, allocations: 8 kB / 1.214 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001226/0.2929, allocations: 41.69 kB / 1.214 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.2929, allocations: 55.34 kB / 1.214 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.679e-05/0.293, allocations: 101.9 kB / 1.214 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.293, allocations: 25.7 kB / 1.215 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.892e-05/0.2931, allocations: 84.08 kB / 1.215 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.2931, allocations: 7.891 kB / 1.215 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.2931, allocations: 17.72 kB / 1.215 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2932, allocations: 315 kB / 1.215 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.343e-05/0.2933, allocations: 4 kB / 1.215 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.998e-06/0.2933, allocations: 4 kB / 1.215 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.909e-05/0.2933, allocations: 12.86 kB / 1.215 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2933, allocations: 0 / 1.215 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.613e-05/0.2934, allocations: 45.62 kB / 1.215 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.2934, allocations: 15.88 kB / 1.215 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.2934, allocations: 0 / 1.215 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.2934, allocations: 4.094 kB / 1.215 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.702e-05/0.2935, allocations: 4 kB / 1.215 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.2935, allocations: 0 / 1.215 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.652e-05/0.2935, allocations: 3.984 kB / 1.215 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-06/0.2935, allocations: 0 / 1.215 GB, free: 1.98 MB / 0.9669 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.175e-05/0.2936, allocations: 109.8 kB / 1.215 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.2936, allocations: 11.83 kB / 1.215 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.939e-05/0.2937, allocations: 48.83 kB / 1.215 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.2937, allocations: 0 / 1.215 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2937, allocations: 3.984 kB / 1.215 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.2937, allocations: 0 / 1.215 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.723e-05/0.2938, allocations: 153.9 kB / 1.215 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2938, allocations: 7.984 kB / 1.215 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.508e-05/0.2939, allocations: 11.88 kB / 1.215 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2939, allocations: 0 / 1.215 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-06/0.2939, allocations: 0 / 1.215 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2939, allocations: 0 / 1.215 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2939, allocations: 0 / 1.215 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.382e-05/0.294, allocations: 69.16 kB / 1.215 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.294, allocations: 81.05 kB / 1.215 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.337e-06/0.294, allocations: 4 kB / 1.215 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.368e-05/0.2941, allocations: 0 / 1.215 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-06/0.2941, allocations: 0 / 1.215 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.2941, allocations: 0 / 1.215 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.78e-05/0.2941, allocations: 87.27 kB / 1.216 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2941, allocations: 7.969 kB / 1.216 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002018/0.2943, allocations: 24 kB / 1.216 GB, free: 1.27 MB / 0.9669 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.0002009/0.2945, allocations: 131.2 kB / 1.216 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.674e-05/0.2946, allocations: 15.94 kB / 1.216 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2946, allocations: 0 / 1.216 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.286e-05/0.2947, allocations: 4 kB / 1.216 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.2949, allocations: 2.438 kB / 1.216 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002623/0.2951, allocations: 139.7 kB / 1.216 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.2954, allocations: 0.6768 MB / 1.217 GB, free: 252 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.419e-05/0.2954, allocations: 7.938 kB / 1.217 GB, free: 244 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.501e-05/0.2954, allocations: 7.438 kB / 1.217 GB, free: 236 kB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/0.2954, allocations: 0 / 1.217 GB, free: 236 kB / 0.9669 GB Notification: Performance of Templates: time 0.0026/0.298, allocations: 0.7603 MB / 1.217 GB, free: 15.48 MB / 0.9825 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