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.001174/0.001174, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 187.4 kB / 16.92 MB, free: 6.77 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.43/1.43, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.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.548/2.548, allocations: 390.9 MB / 0.667 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003604, allocations: 8 kB / 0.8167 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.829/0.8294, allocations: 142.4 MB / 0.9558 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001425/0.8309, allocations: 1.088 MB / 0.9568 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001681/0.8326, allocations: 1.097 MB / 0.9579 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.386e-05/0.8326, allocations: 5.125 kB / 0.9579 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.588e-05/0.8326, allocations: 0 / 0.9579 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.79e-05/0.8327, allocations: 17.53 kB / 0.9579 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004861/0.8332, allocations: 152 kB / 0.9581 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.585e-05/0.8333, allocations: 29.05 kB / 0.9581 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.354e-05/0.8333, allocations: 1.656 kB / 0.9581 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.722e-05/0.8334, allocations: 11.53 kB / 0.9581 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.089e-05/0.8335, allocations: 20.48 kB / 0.9581 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.8335, allocations: 1.438 kB / 0.9581 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005868/0.8341, allocations: 429.7 kB / 0.9585 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.03e-05/0.8341, allocations: 1.375 kB / 0.9585 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.8341, allocations: 39.14 kB / 0.9586 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.8344, allocations: 139.5 kB / 0.9587 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.8344, allocations: 1.375 kB / 0.9587 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.497e-06/0.8344, allocations: 0 / 0.9587 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.8344, allocations: 3.938 kB / 0.9587 GB, free: 5.59 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.0003688/0.8348, allocations: 380 kB / 0.9591 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.8348, allocations: 9.625 kB / 0.9591 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.8349, allocations: 6.219 kB / 0.9591 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.947e-05/0.835, allocations: 163.1 kB / 0.9592 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.835, allocations: 384 / 0.9592 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.835, allocations: 3.125 kB / 0.9593 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.8351, allocations: 43.5 kB / 0.9593 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.8351, allocations: 0 / 0.9593 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.8351, allocations: 0 / 0.9593 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.8351, allocations: 1.375 kB / 0.9593 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.176e-05/0.8352, allocations: 24.17 kB / 0.9593 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001547/0.8354, allocations: 164.1 kB / 0.9595 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.267e-05/0.8355, allocations: 46.44 kB / 0.9595 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.078e-05/0.8355, allocations: 15.36 kB / 0.9595 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007554/0.8363, allocations: 0.987 MB / 0.9605 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.8363, allocations: 34.5 kB / 0.9605 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.8363, allocations: 1.594 kB / 0.9605 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002036/0.8365, allocations: 55.91 kB / 0.9606 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.8365, allocations: 60.67 kB / 0.9606 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.13e-05/0.8366, allocations: 101.5 kB / 0.9607 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.8366, allocations: 27.05 kB / 0.9608 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.648e-05/0.8367, allocations: 89.28 kB / 0.9609 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.8367, allocations: 9.375 kB / 0.9609 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/0.8367, allocations: 15.03 kB / 0.9609 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.312e-05/0.8368, allocations: 312.2 kB / 0.9612 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.023e-05/0.8368, allocations: 11.64 kB / 0.9612 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.512e-05/0.8368, allocations: 7.938 kB / 0.9612 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.837e-05/0.8369, allocations: 23.14 kB / 0.9612 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.8369, allocations: 5.156 kB / 0.9612 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.597e-05/0.837, allocations: 49 kB / 0.9613 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.837, allocations: 9.094 kB / 0.9613 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.837, allocations: 0 / 0.9613 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.837, allocations: 1.406 kB / 0.9613 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.8371, allocations: 15.3 kB / 0.9613 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.8372, allocations: 0 / 0.9613 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.415e-05/0.8372, allocations: 1 kB / 0.9613 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.8372, allocations: 5.219 kB / 0.9613 GB, free: 2.723 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.121e-05/0.8373, allocations: 112 kB / 0.9614 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/0.8373, allocations: 8.844 kB / 0.9614 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.8374, allocations: 65.7 kB / 0.9615 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.8374, allocations: 1.156 kB / 0.9615 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.8374, allocations: 1.188 kB / 0.9615 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.8374, allocations: 0 / 0.9615 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.599e-05/0.8375, allocations: 156.4 kB / 0.9616 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.8375, allocations: 5.219 kB / 0.9616 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.301e-05/0.8376, allocations: 19.27 kB / 0.9616 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.8376, allocations: 3.938 kB / 0.9617 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.8376, allocations: 1.375 kB / 0.9617 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.8376, allocations: 0 / 0.9617 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.8377, allocations: 1.438 kB / 0.9617 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.02e-05/0.8378, allocations: 86.17 kB / 0.9617 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.326e-05/0.8378, allocations: 86.02 kB / 0.9618 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.8378, allocations: 4 kB / 0.9618 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.111e-05/0.8378, allocations: 1.031 kB / 0.9618 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/0.8379, allocations: 6.094 kB / 0.9618 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.8379, allocations: 9.141 kB / 0.9618 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.043e-05/0.8379, allocations: 84.36 kB / 0.9619 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8379, allocations: 0 / 0.9619 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002438/0.8382, allocations: 49.02 kB / 0.962 GB, free: 2.023 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.0002516/0.8384, allocations: 140.8 kB / 0.9621 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001031/0.8385, allocations: 26.56 kB / 0.9621 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.8385, allocations: 3.938 kB / 0.9621 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.722e-05/0.8386, allocations: 8.281 kB / 0.9621 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.8388, allocations: 8.656 kB / 0.9621 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004604/0.8393, allocations: 211.1 kB / 0.9623 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.8395, allocations: 0.6798 MB / 0.963 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.649e-05/0.8396, allocations: 10.19 kB / 0.963 GB, free: 1 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.8396, allocations: 0 / 0.963 GB, free: 1 MB / 0.7169 GB Notification: Performance of Templates: time 0.003387/0.843, allocations: 1.021 MB / 0.964 GB, free: 0.4922 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/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