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.009009/0.009009, allocations: 106.5 kB / 15.74 MB, free: 5.582 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.001627/0.001627, allocations: 197.2 kB / 16.67 MB, free: 5.508 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.271/2.271, allocations: 390.2 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.91 kB / 0.9509 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.108/1.109, allocations: 140.4 MB / 1.088 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002856/1.112, allocations: 1.365 MB / 1.089 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001908/1.114, allocations: 1.085 MB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.599e-05/1.114, allocations: 0.75 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.373e-05/1.114, allocations: 0.5156 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.934e-05/1.114, allocations: 9.781 kB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000848/1.115, allocations: 215.4 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.717e-05/1.115, allocations: 33.5 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.725e-05/1.115, allocations: 3.906 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.135e-05/1.115, allocations: 9.109 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.651e-05/1.115, allocations: 15.94 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/1.115, allocations: 1.062 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008163/1.116, allocations: 429 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.976e-05/1.116, allocations: 14.2 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.46e-05/1.116, allocations: 13.77 kB / 1.091 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004478/1.116, allocations: 195.9 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/1.116, allocations: 1 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.535e-06/1.116, allocations: 0 / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.947e-06/1.116, allocations: 0 / 1.091 GB, free: 3.488 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.0004818/1.117, allocations: 381.4 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/1.117, allocations: 10.39 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/1.117, allocations: 2.625 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/1.117, allocations: 176.2 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/1.117, allocations: 9.281 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/1.117, allocations: 5.344 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/1.117, allocations: 43.84 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/1.117, allocations: 0 / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/1.117, allocations: 1.484 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/1.117, allocations: 0.875 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.722e-05/1.117, allocations: 9.797 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/1.118, allocations: 164.9 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/1.118, allocations: 50.17 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.762e-05/1.118, allocations: 16.16 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008157/1.119, allocations: 0.9924 MB / 1.093 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/1.119, allocations: 35.58 kB / 1.093 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/1.119, allocations: 0.5625 kB / 1.093 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002093/1.119, allocations: 57.19 kB / 1.093 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/1.119, allocations: 51.41 kB / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.526e-05/1.119, allocations: 106.1 kB / 1.093 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/1.119, allocations: 26.55 kB / 1.093 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.104e-05/1.119, allocations: 89.88 kB / 1.093 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/1.119, allocations: 7.234 kB / 1.093 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/1.119, allocations: 22.41 kB / 1.093 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.77e-05/1.119, allocations: 313.3 kB / 1.094 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.546e-05/1.119, allocations: 8.734 kB / 1.094 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.902e-05/1.119, allocations: 5.797 kB / 1.094 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.885e-05/1.119, allocations: 20.5 kB / 1.094 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/1.119, allocations: 0 / 1.094 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.441e-05/1.119, allocations: 52.48 kB / 1.094 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/1.119, allocations: 13.92 kB / 1.094 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/1.119, allocations: 0 / 1.094 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/1.119, allocations: 0.9375 kB / 1.094 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/1.12, allocations: 17.61 kB / 1.094 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/1.12, allocations: 0.6562 kB / 1.094 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.467e-05/1.12, allocations: 4.781 kB / 1.094 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/1.12, allocations: 1.859 kB / 1.094 GB, free: 0.6797 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 6.163e-05/1.12, allocations: 110.8 kB / 1.094 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/1.12, allocations: 5.375 kB / 1.094 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/1.12, allocations: 70.88 kB / 1.094 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/1.12, allocations: 5.719 kB / 1.094 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.12, allocations: 0 / 1.094 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/1.12, allocations: 0 / 1.094 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/1.12, allocations: 162.5 kB / 1.094 GB, free: 312 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.12, allocations: 0 / 1.094 GB, free: 312 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.948e-05/1.12, allocations: 18.34 kB / 1.094 GB, free: 308 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/1.12, allocations: 4.438 kB / 1.094 GB, free: 304 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/1.12, allocations: 5.656 kB / 1.094 GB, free: 300 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/1.12, allocations: 0.7969 kB / 1.094 GB, free: 300 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/1.12, allocations: 4.656 kB / 1.094 GB, free: 296 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/1.12, allocations: 70.16 kB / 1.094 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.793e-05/1.12, allocations: 91 kB / 1.094 GB, free: 120 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/1.12, allocations: 1.266 kB / 1.094 GB, free: 120 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.273e-05/1.12, allocations: 4.812 kB / 1.094 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.687e-05/1.12, allocations: 7.453 kB / 1.094 GB, free: 112 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-06/1.12, allocations: 0.5938 kB / 1.094 GB, free: 112 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.478e-05/1.12, allocations: 90.33 kB / 1.095 GB, free: 28 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.12, allocations: 1.062 kB / 1.095 GB, free: 28 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002812/1.121, allocations: 42.08 kB / 1.095 GB, free: 16 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.0003523/1.121, allocations: 158.4 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001168/1.121, allocations: 19.44 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.121, allocations: 0.7188 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.574e-05/1.121, allocations: 9.812 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/1.121, allocations: 12.53 kB / 1.095 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004075/1.122, allocations: 145.1 kB / 1.095 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/1.122, allocations: 0.6785 MB / 1.096 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.621e-05/1.122, allocations: 3.922 kB / 1.096 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.628e-05/1.122, allocations: 10.44 kB / 1.096 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/1.122, allocations: 0 / 1.096 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of Templates: time 0.004692/1.127, allocations: 1.153 MB / 1.097 GB, free: 14.99 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/jenkins/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