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.001883/0.001883, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.002126/0.002126, allocations: 192 kB / 16.25 MB, free: 6.633 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.404/1.404, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.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.401/2.401, allocations: 390.2 MB / 0.6643 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 67.89 kB / 0.8121 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9152/0.9168, allocations: 140.3 MB / 0.9491 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002529/0.9193, allocations: 1.429 MB / 0.9505 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001588/0.9209, allocations: 1.071 MB / 0.9516 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.611e-05/0.921, allocations: 4 kB / 0.9516 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.292e-05/0.921, allocations: 3.984 kB / 0.9516 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.609e-05/0.9211, allocations: 5.406 kB / 0.9516 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006049/0.9217, allocations: 188 kB / 0.9518 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.024e-05/0.9218, allocations: 26.53 kB / 0.9518 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.486e-05/0.9219, allocations: 14.27 kB / 0.9518 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.085e-05/0.9219, allocations: 14.75 kB / 0.9518 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.603e-05/0.922, allocations: 13.08 kB / 0.9518 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.922, allocations: 2.844 kB / 0.9518 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005806/0.9226, allocations: 426.3 kB / 0.9523 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.177e-05/0.9226, allocations: 3.984 kB / 0.9523 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.9227, allocations: 13.09 kB / 0.9523 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003067/0.923, allocations: 196.1 kB / 0.9525 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.923, allocations: 0 / 0.9525 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.914e-06/0.923, allocations: 0 / 0.9525 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.923, allocations: 5.438 kB / 0.9525 GB, free: 6.77 MB / 0.7169 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.0004367/0.9235, allocations: 393.5 kB / 0.9528 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.9235, allocations: 9.875 kB / 0.9528 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.9236, allocations: 3.156 kB / 0.9529 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.686e-05/0.9236, allocations: 165.6 kB / 0.953 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.9237, allocations: 1.812 kB / 0.953 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.9237, allocations: 5.812 kB / 0.953 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.9238, allocations: 43.61 kB / 0.9531 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.9238, allocations: 5.5 kB / 0.9531 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.9238, allocations: 0 / 0.9531 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.9238, allocations: 3.938 kB / 0.9531 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.79e-05/0.9239, allocations: 16.45 kB / 0.9531 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.924, allocations: 160.5 kB / 0.9532 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.154e-05/0.9241, allocations: 38.67 kB / 0.9533 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.324e-05/0.9242, allocations: 23.2 kB / 0.9533 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007523/0.9249, allocations: 0.9869 MB / 0.9543 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.925, allocations: 36.09 kB / 0.9543 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.925, allocations: 4 kB / 0.9543 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001827/0.9252, allocations: 61.69 kB / 0.9544 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.9252, allocations: 51.41 kB / 0.9544 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.379e-05/0.9253, allocations: 111 kB / 0.9545 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.9253, allocations: 25.7 kB / 0.9545 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.524e-05/0.9253, allocations: 81.45 kB / 0.9546 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.9253, allocations: 17.3 kB / 0.9546 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.9254, allocations: 12.81 kB / 0.9546 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.096e-05/0.9254, allocations: 320.3 kB / 0.9549 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.093e-05/0.9255, allocations: 3.938 kB / 0.955 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.779e-05/0.9255, allocations: 9.516 kB / 0.955 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.728e-05/0.9255, allocations: 25.92 kB / 0.955 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.9255, allocations: 1.156 kB / 0.955 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.28e-05/0.9256, allocations: 57.22 kB / 0.955 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.9257, allocations: 8.125 kB / 0.955 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.9257, allocations: 0.9375 kB / 0.955 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.9257, allocations: 0.8438 kB / 0.955 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.9258, allocations: 19.45 kB / 0.9551 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.9258, allocations: 320 / 0.9551 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.466e-05/0.9259, allocations: 5.688 kB / 0.9551 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.9259, allocations: 1.875 kB / 0.9551 GB, free: 3.875 MB / 0.7169 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.312e-05/0.9259, allocations: 107.8 kB / 0.9552 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.926, allocations: 7.938 kB / 0.9552 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.9261, allocations: 66.19 kB / 0.9552 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.9261, allocations: 1.219 kB / 0.9553 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.9261, allocations: 0 / 0.9553 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.9261, allocations: 9.297 kB / 0.9553 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.769e-05/0.9262, allocations: 156 kB / 0.9554 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.9262, allocations: 1.25 kB / 0.9554 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.72e-05/0.9263, allocations: 10.81 kB / 0.9554 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.9263, allocations: 9.516 kB / 0.9554 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.9263, allocations: 0 / 0.9554 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.9263, allocations: 1.25 kB / 0.9554 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.9264, allocations: 0 / 0.9554 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.9265, allocations: 81.94 kB / 0.9555 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.07e-05/0.9265, allocations: 89.98 kB / 0.9556 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.9265, allocations: 5.062 kB / 0.9556 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.213e-05/0.9266, allocations: 0 / 0.9556 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.64e-05/0.9266, allocations: 2.219 kB / 0.9556 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.9266, allocations: 1.031 kB / 0.9556 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.514e-05/0.9266, allocations: 92.94 kB / 0.9557 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9266, allocations: 0 / 0.9557 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002502/0.9269, allocations: 36.62 kB / 0.9557 GB, free: 3.195 MB / 0.7169 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.0002813/0.9272, allocations: 153.1 kB / 0.9559 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000107/0.9273, allocations: 22.52 kB / 0.9559 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.9273, allocations: 0 / 0.9559 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.399e-05/0.9273, allocations: 19.53 kB / 0.9559 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.9276, allocations: 13.66 kB / 0.9559 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.928, allocations: 155.1 kB / 0.9561 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.9281, allocations: 0.6874 MB / 0.9567 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.708e-05/0.9282, allocations: 7.234 kB / 0.9568 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.172e-05/0.9282, allocations: 9.781 kB / 0.9568 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.9282, allocations: 0 / 0.9568 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of Templates: time 0.003824/0.932, allocations: 1.137 MB / 0.9579 GB, free: 1.66 MB / 0.7169 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