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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001484/0.001484, allocations: 100.1 kB / 16.35 MB, free: 5.875 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.00151/0.00151, allocations: 199.2 kB / 17.3 MB, free: 5.516 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.278/2.278, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.00137, allocations: 62.03 kB / 0.8141 GB, free: 32.58 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.324, allocations: 140.4 MB / 0.9512 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002737/0.3268, allocations: 1.357 MB / 0.9525 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001746/0.3285, allocations: 1.089 MB / 0.9536 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.412e-05/0.3286, allocations: 0 / 0.9536 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.405e-05/0.3286, allocations: 4 kB / 0.9536 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.11e-05/0.3287, allocations: 15.84 kB / 0.9536 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006735/0.3294, allocations: 211.3 kB / 0.9538 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.142e-05/0.3295, allocations: 31.86 kB / 0.9538 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.812e-05/0.3296, allocations: 7.984 kB / 0.9538 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.25e-05/0.3296, allocations: 11.94 kB / 0.9538 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.081e-05/0.3297, allocations: 15.92 kB / 0.9538 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.3297, allocations: 4 kB / 0.9539 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005995/0.3303, allocations: 419.5 kB / 0.9543 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.3303, allocations: 15.97 kB / 0.9543 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.806e-05/0.3304, allocations: 7.938 kB / 0.9543 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003061/0.3307, allocations: 195.6 kB / 0.9545 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3307, allocations: 4 kB / 0.9545 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.366e-06/0.3307, allocations: 7.938 kB / 0.9545 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.3307, allocations: 3.938 kB / 0.9545 GB, free: 4.574 MB / 0.7325 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.0005033/0.3312, allocations: 387.3 kB / 0.9548 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3313, allocations: 8.031 kB / 0.9549 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.192e-05/0.3313, allocations: 0.9375 kB / 0.9549 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.3315, allocations: 172.2 kB / 0.955 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.3315, allocations: 384 / 0.955 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.3315, allocations: 4.375 kB / 0.955 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.3316, allocations: 46 kB / 0.9551 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.3316, allocations: 4 kB / 0.9551 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.3317, allocations: 0 / 0.9551 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3317, allocations: 0 / 0.9551 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.357e-05/0.3317, allocations: 15.98 kB / 0.9551 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.3319, allocations: 161.7 kB / 0.9552 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.35e-05/0.332, allocations: 38.56 kB / 0.9553 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.516e-05/0.3321, allocations: 16.89 kB / 0.9553 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009714/0.333, allocations: 0.9856 MB / 0.9563 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.3331, allocations: 38.5 kB / 0.9563 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.3331, allocations: 4 kB / 0.9563 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0001808/0.3333, allocations: 53.62 kB / 0.9563 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.3333, allocations: 51.41 kB / 0.9564 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.556e-05/0.3334, allocations: 109.8 kB / 0.9565 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.3334, allocations: 25.7 kB / 0.9565 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.081e-05/0.3335, allocations: 84.14 kB / 0.9566 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.3335, allocations: 15.73 kB / 0.9566 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.3336, allocations: 17.72 kB / 0.9566 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3337, allocations: 322.8 kB / 0.9569 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.231e-05/0.3337, allocations: 7.984 kB / 0.957 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.691e-05/0.3337, allocations: 4 kB / 0.957 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.499e-05/0.3338, allocations: 21.08 kB / 0.957 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3338, allocations: 0 / 0.957 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.396e-05/0.3339, allocations: 61.52 kB / 0.957 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.3339, allocations: 11.94 kB / 0.957 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.3339, allocations: 0 / 0.957 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3339, allocations: 0 / 0.957 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.3341, allocations: 23.98 kB / 0.9571 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.3341, allocations: 0 / 0.9571 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.251e-05/0.3341, allocations: 0 / 0.9571 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.3341, allocations: 0 / 0.9571 GB, free: 1.473 MB / 0.7325 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 8.155e-05/0.3342, allocations: 109.8 kB / 0.9572 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.3342, allocations: 3.938 kB / 0.9572 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.3344, allocations: 61.53 kB / 0.9572 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.3344, allocations: 7.984 kB / 0.9572 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3344, allocations: 0 / 0.9572 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3344, allocations: 4 kB / 0.9573 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.3345, allocations: 157.7 kB / 0.9574 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3345, allocations: 0 / 0.9574 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.997e-05/0.3346, allocations: 23.92 kB / 0.9574 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.3346, allocations: 3.938 kB / 0.9574 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.3346, allocations: 0 / 0.9574 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3347, allocations: 0 / 0.9574 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3347, allocations: 0 / 0.9574 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.3348, allocations: 77.03 kB / 0.9575 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/0.3348, allocations: 88.98 kB / 0.9576 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.3348, allocations: 4 kB / 0.9576 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.532e-05/0.3349, allocations: 4 kB / 0.9576 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/0.3349, allocations: 4 kB / 0.9576 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.3349, allocations: 0 / 0.9576 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.033e-05/0.3349, allocations: 83.27 kB / 0.9577 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.3349, allocations: 0 / 0.9577 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002497/0.3352, allocations: 40 kB / 0.9577 GB, free: 0.7031 MB / 0.7325 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.0002727/0.3355, allocations: 159.1 kB / 0.9579 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001148/0.3356, allocations: 19.94 kB / 0.9579 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3356, allocations: 4 kB / 0.9579 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.167e-05/0.3356, allocations: 11.94 kB / 0.9579 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.3359, allocations: 11.92 kB / 0.9579 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003439/0.3362, allocations: 156.2 kB / 0.9581 GB, free: 324 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.3365, allocations: 0.6805 MB / 0.9587 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.107e-05/0.3365, allocations: 7.422 kB / 0.9587 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.152e-05/0.3365, allocations: 11.44 kB / 0.9587 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of SimCode: time 2.1e-07/0.3365, allocations: 0 / 0.9587 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of Templates: time 0.003669/0.3402, allocations: 1.146 MB / 0.9599 GB, free: 14.5 MB / 0.7481 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 -s gbode -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