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.001368/0.001368, allocations: 108 kB / 15.61 MB, free: 152 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.001511/0.001511, allocations: 196.2 kB / 16.53 MB, free: 6.664 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.495/1.495, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.798/2.798, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 63.91 kB / 0.8693 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9254/0.9274, allocations: 151.6 MB / 1.017 GB, free: 2.543 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003132/0.9306, allocations: 1.358 MB / 1.019 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001934/0.9325, allocations: 1.087 MB / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.97e-05/0.9326, allocations: 0 / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.332e-05/0.9326, allocations: 0 / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.454e-05/0.9327, allocations: 11.94 kB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007236/0.9334, allocations: 215.1 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.338e-05/0.9335, allocations: 27.86 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.297e-05/0.9336, allocations: 8 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.002e-05/0.9337, allocations: 23.84 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.162e-05/0.9338, allocations: 15.94 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.9338, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006728/0.9345, allocations: 427.4 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.9345, allocations: 4 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.601e-05/0.9345, allocations: 19.88 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003477/0.9349, allocations: 193.6 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.9349, allocations: 4 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9349, allocations: 0 / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.9349, allocations: 0 / 1.021 GB, free: 15.14 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.0005666/0.9355, allocations: 391.3 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.9355, allocations: 8.031 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.9356, allocations: 0.9375 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.9357, allocations: 176.2 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.9358, allocations: 8.312 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.9358, allocations: 4.375 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.9359, allocations: 34.02 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.9359, allocations: 3.984 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.9359, allocations: 4 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.9359, allocations: 4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.154e-05/0.936, allocations: 11.98 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002121/0.9362, allocations: 157.7 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.9363, allocations: 46.55 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.613e-05/0.9364, allocations: 12.89 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001105/0.9375, allocations: 0.9895 MB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.9375, allocations: 34.5 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.9375, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001852/0.9377, allocations: 57.69 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.9378, allocations: 59.34 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.992e-05/0.9379, allocations: 113.8 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.9379, allocations: 25.7 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.999e-05/0.938, allocations: 88.08 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.938, allocations: 7.812 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.9381, allocations: 17.72 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.9382, allocations: 318.8 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.268e-05/0.9382, allocations: 8 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.282e-05/0.9383, allocations: 8 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.137e-05/0.9383, allocations: 20.84 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.9383, allocations: 0 / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.157e-05/0.9384, allocations: 49.61 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.9384, allocations: 11.94 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.9385, allocations: 0 / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.9385, allocations: 7.922 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.9386, allocations: 19.94 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.9386, allocations: 0 / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.212e-05/0.9387, allocations: 4 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.9387, allocations: 0 / 1.023 GB, free: 12.03 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 0.0001057/0.9388, allocations: 113.8 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.9388, allocations: 7.922 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.939, allocations: 57.59 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.939, allocations: 4 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.939, allocations: 0 / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.939, allocations: 0 / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.9391, allocations: 165.6 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.9392, allocations: 4 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.864e-05/0.9392, allocations: 19.92 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.9392, allocations: 3.938 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.9393, allocations: 384 / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.9393, allocations: 0 / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.9393, allocations: 0 / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.9394, allocations: 81.02 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/0.9395, allocations: 85.05 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.9395, allocations: 7.984 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.407e-05/0.9395, allocations: 0 / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.668e-05/0.9396, allocations: 3.938 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.9396, allocations: 4 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.34e-05/0.9396, allocations: 83.28 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9396, allocations: 0 / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000244/0.9399, allocations: 35.98 kB / 1.024 GB, free: 11.26 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.0002842/0.9402, allocations: 163.1 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001253/0.9403, allocations: 27.98 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.9403, allocations: 0 / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.113e-05/0.9403, allocations: 8 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.9406, allocations: 5.172 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003868/0.941, allocations: 156.2 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.9414, allocations: 0.6807 MB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.265e-05/0.9414, allocations: 0 / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.371e-05/0.9414, allocations: 11.44 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.9414, allocations: 0 / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of Templates: time 0.004319/0.9458, allocations: 1.147 MB / 1.026 GB, free: 9.066 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=400 -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