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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001238/0.001238, allocations: 100.1 kB / 15.88 MB, free: 12 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.001358/0.001358, allocations: 199 kB / 16.79 MB, free: 6.809 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.461/1.461, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.821/2.821, allocations: 437 MB / 0.7106 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 59.91 kB / 0.8693 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8423/0.8439, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.004659/0.8487, allocations: 1.423 MB / 1.019 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002772/0.8515, allocations: 1.134 MB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.056e-05/0.8516, allocations: 0 / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.075e-05/0.8517, allocations: 0 / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.647e-05/0.8518, allocations: 11.92 kB / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.853, allocations: 163.6 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.817e-05/0.8531, allocations: 27.77 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.603e-05/0.8532, allocations: 4 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.005e-05/0.8533, allocations: 11.94 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.568e-05/0.8534, allocations: 15.92 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.8534, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007733/0.8541, allocations: 423.4 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.075e-05/0.8542, allocations: 7.984 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.224e-05/0.8542, allocations: 11.88 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003875/0.8546, allocations: 141.7 kB / 1.021 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.8546, allocations: 0 / 1.021 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.398e-06/0.8547, allocations: 3.984 kB / 1.021 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.8547, allocations: 0 / 1.021 GB, free: 15.36 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.0006067/0.8553, allocations: 383.4 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.8553, allocations: 12.03 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.8554, allocations: 0.9375 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.8555, allocations: 168.3 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.8556, allocations: 384 / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.8556, allocations: 4.375 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.8557, allocations: 46 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.8557, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.8557, allocations: 3.938 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.8558, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.206e-05/0.8558, allocations: 15.98 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002224/0.856, allocations: 161.7 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.8562, allocations: 42.56 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.438e-05/0.8562, allocations: 12.89 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001168/0.8574, allocations: 0.9856 MB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.8574, allocations: 38.5 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 4.699e-06/0.8574, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002192/0.8577, allocations: 65.56 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.8577, allocations: 51.41 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.944e-05/0.8578, allocations: 105.8 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.8578, allocations: 25.7 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.8579, allocations: 88.12 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.8579, allocations: 11.81 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.858, allocations: 17.72 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.8581, allocations: 314.8 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.582e-05/0.8582, allocations: 7.984 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.022e-05/0.8582, allocations: 12 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.339e-05/0.8582, allocations: 21.08 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.8582, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001071/0.8584, allocations: 61.52 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.8584, allocations: 7.938 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.8584, allocations: 4 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.8584, allocations: 4 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.8586, allocations: 11.98 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.8586, allocations: 4 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.847e-05/0.8586, allocations: 4 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.8586, allocations: 0 / 1.023 GB, free: 12.25 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 8.681e-05/0.8587, allocations: 114.4 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.8587, allocations: 3.938 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.8589, allocations: 72.05 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.8589, allocations: 0 / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.8589, allocations: 0 / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.8589, allocations: 4 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.8591, allocations: 153.7 kB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.8591, allocations: 0 / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.512e-05/0.8592, allocations: 15.98 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.8592, allocations: 3.938 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.8592, allocations: 4 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.8592, allocations: 0 / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.8592, allocations: 0 / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.8593, allocations: 84.97 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.515e-05/0.8594, allocations: 84.98 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.8594, allocations: 4 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.45e-05/0.8594, allocations: 3.938 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.089e-05/0.8595, allocations: 3.984 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-06/0.8595, allocations: 4 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.542e-05/0.8595, allocations: 83.28 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8595, allocations: 4 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000254/0.8598, allocations: 39.98 kB / 1.024 GB, free: 11.48 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.000291/0.8601, allocations: 159.1 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001112/0.8602, allocations: 15.94 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.8602, allocations: 0 / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.576e-05/0.8603, allocations: 15.98 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.8605, allocations: 10.12 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004195/0.8609, allocations: 199.5 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.8612, allocations: 0.6809 MB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/0.8612, allocations: 11.44 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of SimCode: time 6.32e-07/0.8612, allocations: 0 / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of Templates: time 0.003085/0.8643, allocations: 1.037 MB / 1.026 GB, free: 9.305 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/jenkins1/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