Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001614/0.001614, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001993/0.001993, allocations: 198.1 kB / 16.14 MB, free: 6.645 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.395/1.395, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.725/2.725, allocations: 437 MB / 0.7099 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.89 kB / 0.8686 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7971/0.7984, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002799/0.8012, allocations: 1.425 MB / 1.018 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001852/0.8031, allocations: 1.126 MB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.995e-05/0.8031, allocations: 0 / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.644e-05/0.8032, allocations: 3.984 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.386e-05/0.8032, allocations: 11.92 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004984/0.8037, allocations: 155.6 kB / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.118e-05/0.8038, allocations: 31.94 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.786e-05/0.8039, allocations: 7.938 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.113e-05/0.8039, allocations: 19.92 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.321e-05/0.804, allocations: 7.938 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.804, allocations: 0 / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005571/0.8046, allocations: 423.5 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.261e-05/0.8046, allocations: 4 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.965e-05/0.8046, allocations: 11.88 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.805, allocations: 209.6 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.805, allocations: 0 / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.382e-06/0.805, allocations: 3.844 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.805, allocations: 0 / 1.02 GB, free: 15.32 MB / 0.7794 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.000461/0.8054, allocations: 387.4 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.8055, allocations: 8.031 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/0.8055, allocations: 4.938 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.8057, allocations: 168.3 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.8057, allocations: 4.375 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.8057, allocations: 4.375 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.8058, allocations: 38.02 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.8058, allocations: 8 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.8058, allocations: 3.984 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.8058, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.377e-05/0.8059, allocations: 15.94 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.8061, allocations: 161.6 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.362e-05/0.8062, allocations: 42.64 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.104e-05/0.8062, allocations: 12.86 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009471/0.8072, allocations: 0.9934 MB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.8072, allocations: 34.5 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.8072, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001842/0.8074, allocations: 57.62 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.8074, allocations: 55.34 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.363e-05/0.8075, allocations: 105.8 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.8076, allocations: 25.7 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.997e-05/0.8076, allocations: 84.14 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.8076, allocations: 19.8 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/0.8077, allocations: 17.72 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.8078, allocations: 318.8 kB / 1.022 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.326e-05/0.8078, allocations: 4 kB / 1.022 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.563e-05/0.8078, allocations: 4 kB / 1.022 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.677e-05/0.8079, allocations: 24.84 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.8079, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.673e-05/0.808, allocations: 53.88 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.808, allocations: 11.94 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.808, allocations: 7.922 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.808, allocations: 0 / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.8082, allocations: 19.98 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.8082, allocations: 0 / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.393e-05/0.8082, allocations: 4 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.8082, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 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 7.235e-05/0.8083, allocations: 106.4 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.8083, allocations: 7.938 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.8084, allocations: 69.52 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.8085, allocations: 0 / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.8085, allocations: 0 / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.8085, allocations: 0 / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.8086, allocations: 157.7 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.8086, allocations: 0 / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.698e-05/0.8087, allocations: 19.98 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.8087, allocations: 3.938 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.8087, allocations: 0 / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.8087, allocations: 0 / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.8087, allocations: 4 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.802e-05/0.8088, allocations: 80.97 kB / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.8089, allocations: 84.98 kB / 1.023 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.8089, allocations: 7.984 kB / 1.023 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.59e-05/0.8089, allocations: 4 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.34e-05/0.8089, allocations: 7.938 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-06/0.8089, allocations: 0 / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.691e-05/0.809, allocations: 87.58 kB / 1.023 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.809, allocations: 4 kB / 1.023 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002228/0.8092, allocations: 39.98 kB / 1.023 GB, free: 11.44 MB / 0.7794 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.0002536/0.8095, allocations: 155.1 kB / 1.023 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.856e-05/0.8096, allocations: 19.98 kB / 1.023 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8096, allocations: 0 / 1.023 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.239e-05/0.8096, allocations: 11.94 kB / 1.023 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.8099, allocations: 9.641 kB / 1.023 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003327/0.8102, allocations: 161.9 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.8105, allocations: 0.677 MB / 1.024 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.401e-05/0.8105, allocations: 5.828 kB / 1.024 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.066e-05/0.8105, allocations: 15.44 kB / 1.024 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.8105, allocations: 0 / 1.024 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of Templates: time 0.003466/0.814, allocations: 1.122 MB / 1.025 GB, free: 9.262 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches