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.001415/0.001415, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001561/0.001561, allocations: 196.5 kB / 16.14 MB, free: 6.703 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.459/1.459, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.451/2.451, allocations: 390.2 MB / 0.6642 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001456, allocations: 63.91 kB / 0.8119 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8438/0.8453, allocations: 140.3 MB / 0.949 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003904/0.8493, allocations: 1.433 MB / 0.9504 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002154/0.8515, allocations: 1.121 MB / 0.9515 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.62e-05/0.8515, allocations: 0 / 0.9515 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.075e-05/0.8516, allocations: 3.984 kB / 0.9515 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.349e-05/0.8517, allocations: 9.047 kB / 0.9515 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005169/0.8522, allocations: 148.6 kB / 0.9516 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.815e-05/0.8523, allocations: 30.33 kB / 0.9516 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.452e-05/0.8523, allocations: 6.234 kB / 0.9516 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.204e-05/0.8524, allocations: 18.23 kB / 0.9517 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.903e-05/0.8525, allocations: 13.05 kB / 0.9517 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.8525, allocations: 1.031 kB / 0.9517 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006313/0.8531, allocations: 430.7 kB / 0.9521 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.8532, allocations: 4 kB / 0.9521 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.447e-05/0.8532, allocations: 13.88 kB / 0.9521 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003856/0.8536, allocations: 198.2 kB / 0.9523 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.8536, allocations: 1.188 kB / 0.9523 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8536, allocations: 3.938 kB / 0.9523 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.8536, allocations: 0 / 0.9523 GB, free: 6.691 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.0004966/0.8541, allocations: 383.5 kB / 0.9527 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.8542, allocations: 9.625 kB / 0.9527 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.962e-05/0.8542, allocations: 2.75 kB / 0.9527 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.625e-05/0.8543, allocations: 169.8 kB / 0.9528 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.8543, allocations: 5.688 kB / 0.9528 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.8543, allocations: 5.906 kB / 0.9529 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.8545, allocations: 44.09 kB / 0.9529 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.8545, allocations: 0 / 0.9529 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.8545, allocations: 0 / 0.9529 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.8545, allocations: 1.562 kB / 0.9529 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.861e-05/0.8546, allocations: 15.56 kB / 0.9529 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001706/0.8547, allocations: 160 kB / 0.9531 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.8549, allocations: 43.23 kB / 0.9531 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.472e-05/0.8549, allocations: 14.89 kB / 0.9531 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008117/0.8557, allocations: 0.9914 MB / 0.9541 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.8557, allocations: 35.72 kB / 0.9541 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.8558, allocations: 0 / 0.9541 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001891/0.8559, allocations: 60.88 kB / 0.9542 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.856, allocations: 51.41 kB / 0.9542 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.423e-05/0.8561, allocations: 106.6 kB / 0.9543 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.8561, allocations: 26.98 kB / 0.9544 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.622e-05/0.8561, allocations: 85.14 kB / 0.9544 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.8561, allocations: 17.05 kB / 0.9545 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.8562, allocations: 13.97 kB / 0.9545 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.272e-05/0.8562, allocations: 324 kB / 0.9548 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.232e-05/0.8563, allocations: 3.406 kB / 0.9548 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.842e-05/0.8563, allocations: 4.25 kB / 0.9548 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.029e-05/0.8563, allocations: 39.98 kB / 0.9548 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8564, allocations: 0 / 0.9548 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.602e-05/0.8564, allocations: 49.98 kB / 0.9549 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.8565, allocations: 12.83 kB / 0.9549 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.8565, allocations: 0 / 0.9549 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.8565, allocations: 1.281 kB / 0.9549 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.8566, allocations: 11.41 kB / 0.9549 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.8566, allocations: 0 / 0.9549 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.779e-05/0.8567, allocations: 5.094 kB / 0.9549 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.8567, allocations: 1.188 kB / 0.9549 GB, free: 3.812 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 5.713e-05/0.8567, allocations: 107.2 kB / 0.955 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.8568, allocations: 14.48 kB / 0.955 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.8569, allocations: 67.67 kB / 0.9551 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.8569, allocations: 0 / 0.9551 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.8569, allocations: 1.219 kB / 0.9551 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.8569, allocations: 0 / 0.9551 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.511e-05/0.857, allocations: 157 kB / 0.9552 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.8571, allocations: 7.984 kB / 0.9552 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.683e-05/0.8571, allocations: 12.25 kB / 0.9552 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.8572, allocations: 3.938 kB / 0.9553 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.8572, allocations: 1.344 kB / 0.9553 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.8572, allocations: 7.938 kB / 0.9553 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.8572, allocations: 0 / 0.9553 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.8573, allocations: 81.66 kB / 0.9553 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.292e-05/0.8573, allocations: 86.38 kB / 0.9554 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.8573, allocations: 1.562 kB / 0.9554 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.35e-05/0.8574, allocations: 0 / 0.9554 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.589e-05/0.8574, allocations: 1.562 kB / 0.9554 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.8574, allocations: 1.656 kB / 0.9554 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.327e-05/0.8574, allocations: 93.67 kB / 0.9555 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8574, allocations: 0 / 0.9555 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002676/0.8577, allocations: 40.59 kB / 0.9556 GB, free: 3.129 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.0002672/0.858, allocations: 149.5 kB / 0.9557 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001126/0.8581, allocations: 24.86 kB / 0.9557 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.8581, allocations: 5.125 kB / 0.9557 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.57e-05/0.8582, allocations: 12.16 kB / 0.9557 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.8584, allocations: 7.672 kB / 0.9557 GB, free: 3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.8588, allocations: 156.1 kB / 0.9559 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.8589, allocations: 0.6878 MB / 0.9566 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.656e-05/0.859, allocations: 14.5 kB / 0.9566 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.859, allocations: 11 kB / 0.9566 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of SimCode: time 1.082e-06/0.859, allocations: 0 / 0.9566 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of Templates: time 0.003886/0.8629, allocations: 1.114 MB / 0.9577 GB, free: 1.605 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