Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 100.4 kB / 16.41 MB, free: 5.977 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.00154/0.00154, allocations: 192.8 kB / 17.34 MB, free: 5.586 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.342/2.342, allocations: 390.2 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 59.91 kB / 0.9516 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.112/1.113, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002667/1.116, allocations: 1.368 MB / 1.09 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001812/1.118, allocations: 1.081 MB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.229e-05/1.118, allocations: 5.031 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.877e-05/1.118, allocations: 1.125 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.032e-05/1.118, allocations: 10.38 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007133/1.119, allocations: 210.2 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.339e-05/1.119, allocations: 38.39 kB / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.394e-05/1.119, allocations: 3.516 kB / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.142e-05/1.119, allocations: 11.84 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.729e-05/1.119, allocations: 13.44 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/1.119, allocations: 2.5 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007608/1.12, allocations: 431.2 kB / 1.092 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/1.12, allocations: 5.891 kB / 1.092 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/1.12, allocations: 14 kB / 1.092 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004029/1.12, allocations: 195.5 kB / 1.092 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.12, allocations: 4.656 kB / 1.092 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.036e-06/1.12, allocations: 0 / 1.092 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.173e-06/1.12, allocations: 0.8125 kB / 1.092 GB, free: 3.512 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004703/1.121, allocations: 385.8 kB / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/1.121, allocations: 9.656 kB / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/1.121, allocations: 6.469 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.867e-05/1.121, allocations: 172 kB / 1.093 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/1.121, allocations: 1.406 kB / 1.093 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/1.121, allocations: 1.844 kB / 1.093 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/1.121, allocations: 52.19 kB / 1.093 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/1.121, allocations: 0 / 1.093 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/1.121, allocations: 0.8125 kB / 1.093 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/1.121, allocations: 0.7188 kB / 1.093 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.998e-05/1.121, allocations: 17.92 kB / 1.093 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001525/1.121, allocations: 161.8 kB / 1.093 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/1.122, allocations: 37.23 kB / 1.093 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.832e-05/1.122, allocations: 24.69 kB / 1.093 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008012/1.122, allocations: 0.9844 MB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/1.122, allocations: 39.44 kB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/1.122, allocations: 1.062 kB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001825/1.123, allocations: 59.53 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/1.123, allocations: 53.42 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.119e-05/1.123, allocations: 105.6 kB / 1.094 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/1.123, allocations: 25.7 kB / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.485e-05/1.123, allocations: 81.95 kB / 1.094 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/1.123, allocations: 11.88 kB / 1.094 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/1.123, allocations: 17.98 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.407e-05/1.123, allocations: 322 kB / 1.094 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.19e-05/1.123, allocations: 4.875 kB / 1.094 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.834e-05/1.123, allocations: 5.562 kB / 1.094 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.977e-05/1.123, allocations: 23.53 kB / 1.094 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.123, allocations: 0.7969 kB / 1.094 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.036e-05/1.123, allocations: 51.67 kB / 1.095 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/1.123, allocations: 9.844 kB / 1.095 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/1.123, allocations: 0.7812 kB / 1.095 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/1.123, allocations: 4 kB / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/1.123, allocations: 18.3 kB / 1.095 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/1.123, allocations: 0.9688 kB / 1.095 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.401e-05/1.123, allocations: 0.7031 kB / 1.095 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/1.123, allocations: 1.625 kB / 1.095 GB, free: 0.707 MB / 0.8575 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 (4): * Single equations (assignments): 4 * 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 5.427e-05/1.123, allocations: 112.4 kB / 1.095 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.245e-05/1.123, allocations: 5.562 kB / 1.095 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/1.124, allocations: 66.5 kB / 1.095 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/1.124, allocations: 4.781 kB / 1.095 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.124, allocations: 1.281 kB / 1.095 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/1.124, allocations: 5 kB / 1.095 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.87e-05/1.124, allocations: 161.1 kB / 1.095 GB, free: 336 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/1.124, allocations: 1.062 kB / 1.095 GB, free: 336 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.089e-05/1.124, allocations: 21.39 kB / 1.095 GB, free: 328 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/1.124, allocations: 5.688 kB / 1.095 GB, free: 324 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/1.124, allocations: 0.5625 kB / 1.095 GB, free: 324 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/1.124, allocations: 0.75 kB / 1.095 GB, free: 324 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/1.124, allocations: 1.922 kB / 1.095 GB, free: 324 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.911e-05/1.124, allocations: 80.52 kB / 1.095 GB, free: 244 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.127e-05/1.124, allocations: 91.53 kB / 1.095 GB, free: 136 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/1.124, allocations: 1.656 kB / 1.095 GB, free: 136 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.276e-05/1.124, allocations: 0 / 1.095 GB, free: 136 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.721e-05/1.124, allocations: 3.141 kB / 1.095 GB, free: 136 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/1.124, allocations: 2.078 kB / 1.095 GB, free: 136 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.348e-05/1.124, allocations: 86.17 kB / 1.095 GB, free: 56 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.124, allocations: 0 / 1.095 GB, free: 56 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002558/1.124, allocations: 42.39 kB / 1.095 GB, free: 44 kB / 0.8575 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 (4): * Single equations (assignments): 4 * 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.0003203/1.125, allocations: 153.5 kB / 1.095 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001199/1.125, allocations: 24.92 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/1.125, allocations: 0 / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.005e-05/1.125, allocations: 13.92 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/1.125, allocations: 4.328 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003639/1.125, allocations: 172.1 kB / 1.096 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/1.126, allocations: 0.6798 MB / 1.096 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.092e-05/1.126, allocations: 10.5 kB / 1.096 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/1.126, allocations: 0 / 1.096 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of Templates: time 0.003393/1.129, allocations: 1.05 MB / 1.097 GB, free: 14.98 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches