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.00119/0.00119, allocations: 111 kB / 15.99 MB, free: 6.348 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.001162/0.001162, allocations: 187.7 kB / 16.91 MB, free: 6.188 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.357/1.357, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.3/2.3, allocations: 390.3 MB / 0.665 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 67.12 kB / 0.8127 GB, free: 33.38 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3391, allocations: 140.4 MB / 0.9498 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003141/0.3423, allocations: 1.428 MB / 0.9512 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001866/0.3442, allocations: 1.083 MB / 0.9523 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.849e-05/0.3443, allocations: 3.938 kB / 0.9523 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.3443, allocations: 0 / 0.9523 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.371e-05/0.3444, allocations: 7.922 kB / 0.9523 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008799/0.3453, allocations: 179.6 kB / 0.9525 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.567e-05/0.3454, allocations: 31.86 kB / 0.9525 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.555e-05/0.3455, allocations: 8 kB / 0.9525 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.461e-05/0.3455, allocations: 15.86 kB / 0.9525 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.843e-05/0.3456, allocations: 23.91 kB / 0.9525 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.3456, allocations: 0 / 0.9525 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006643/0.3463, allocations: 423.5 kB / 0.9529 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.3463, allocations: 0 / 0.9529 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.503e-05/0.3464, allocations: 19.92 kB / 0.953 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.3467, allocations: 128 kB / 0.9531 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3467, allocations: 0 / 0.9531 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3467, allocations: 4 kB / 0.9531 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3467, allocations: 4 kB / 0.9531 GB, free: 5.805 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.0005125/0.3472, allocations: 383.3 kB / 0.9535 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.3473, allocations: 12.03 kB / 0.9535 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.3473, allocations: 0.9375 kB / 0.9535 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.3475, allocations: 180.2 kB / 0.9536 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.3475, allocations: 384 / 0.9536 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.3475, allocations: 384 / 0.9536 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.3476, allocations: 53.94 kB / 0.9537 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.3477, allocations: 0 / 0.9537 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.3477, allocations: 0 / 0.9537 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.3477, allocations: 0 / 0.9537 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.154e-05/0.3477, allocations: 12 kB / 0.9537 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.3479, allocations: 161.7 kB / 0.9539 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.877e-05/0.348, allocations: 38.52 kB / 0.9539 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.628e-05/0.3481, allocations: 20.92 kB / 0.9539 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009997/0.3491, allocations: 0.9895 MB / 0.9549 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.3491, allocations: 38.5 kB / 0.9549 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3491, allocations: 0 / 0.9549 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0001925/0.3493, allocations: 53.69 kB / 0.955 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.3494, allocations: 55.34 kB / 0.955 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.114e-05/0.3495, allocations: 105.8 kB / 0.9551 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.3495, allocations: 33.7 kB / 0.9552 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.574e-05/0.3495, allocations: 80.14 kB / 0.9552 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.3496, allocations: 19.69 kB / 0.9553 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.3496, allocations: 21.7 kB / 0.9553 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.3497, allocations: 318.8 kB / 0.9556 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.966e-05/0.3498, allocations: 4 kB / 0.9556 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.654e-05/0.3498, allocations: 7.984 kB / 0.9556 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.726e-05/0.3498, allocations: 21.12 kB / 0.9556 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3498, allocations: 0 / 0.9556 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.216e-05/0.3499, allocations: 61.53 kB / 0.9557 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.35, allocations: 9.656 kB / 0.9557 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.35, allocations: 4 kB / 0.9557 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.35, allocations: 4 kB / 0.9557 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.3501, allocations: 12 kB / 0.9557 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3501, allocations: 0 / 0.9557 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.634e-05/0.3502, allocations: 0 / 0.9557 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.3502, allocations: 0 / 0.9557 GB, free: 2.695 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.041e-05/0.3503, allocations: 113.8 kB / 0.9558 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.3503, allocations: 3.938 kB / 0.9558 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.3504, allocations: 57.59 kB / 0.9559 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3504, allocations: 0 / 0.9559 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.3505, allocations: 11.94 kB / 0.9559 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3505, allocations: 0 / 0.9559 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.3506, allocations: 161.7 kB / 0.956 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3506, allocations: 4 kB / 0.956 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.525e-05/0.3507, allocations: 8 kB / 0.956 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.3507, allocations: 7.938 kB / 0.956 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.3507, allocations: 0 / 0.956 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3507, allocations: 3.938 kB / 0.956 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3507, allocations: 0 / 0.956 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.3508, allocations: 81.02 kB / 0.9561 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/0.3509, allocations: 93.05 kB / 0.9562 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.3509, allocations: 0 / 0.9562 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.33e-05/0.3509, allocations: 0 / 0.9562 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.376e-05/0.3509, allocations: 0 / 0.9562 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.351, allocations: 4 kB / 0.9562 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.136e-05/0.351, allocations: 91.52 kB / 0.9563 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.573e-06/0.351, allocations: 0 / 0.9563 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002491/0.3513, allocations: 35.94 kB / 0.9563 GB, free: 1.922 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.000267/0.3515, allocations: 159.1 kB / 0.9565 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001035/0.3517, allocations: 19.98 kB / 0.9565 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3517, allocations: 0 / 0.9565 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.275e-05/0.3517, allocations: 15.94 kB / 0.9565 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.352, allocations: 8.219 kB / 0.9565 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003519/0.3523, allocations: 186 kB / 0.9567 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.3526, allocations: 0.6844 MB / 0.9574 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.03e-05/0.3526, allocations: 15.44 kB / 0.9574 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.3526, allocations: 0 / 0.9574 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of Templates: time 0.003048/0.3556, allocations: 1.044 MB / 0.9584 GB, free: 15.75 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 -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