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.001314/0.001314, allocations: 105.7 kB / 16.41 MB, free: 6.496 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.001391/0.001391, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.541/2.541, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 63.91 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04/1.042, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002934/1.045, allocations: 1.367 MB / 1.169 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001805/1.047, allocations: 1.091 MB / 1.17 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.237e-05/1.047, allocations: 0 / 1.17 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.699e-05/1.047, allocations: 0 / 1.17 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.027e-05/1.047, allocations: 15.84 kB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000669/1.047, allocations: 209 kB / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.918e-05/1.048, allocations: 31.86 kB / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.856e-05/1.048, allocations: 15.92 kB / 1.17 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.852e-05/1.048, allocations: 7.938 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.222e-05/1.048, allocations: 19.92 kB / 1.17 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/1.048, allocations: 0 / 1.17 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005935/1.048, allocations: 423.5 kB / 1.17 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/1.048, allocations: 3.984 kB / 1.17 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.159e-05/1.048, allocations: 19.92 kB / 1.17 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002948/1.049, allocations: 187.5 kB / 1.171 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.049, allocations: 3.938 kB / 1.171 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.673e-06/1.049, allocations: 7.938 kB / 1.171 GB, free: 500 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.961e-06/1.049, allocations: 0 / 1.171 GB, free: 500 kB / 0.8887 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.0005001/1.049, allocations: 385.2 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/1.049, allocations: 12.92 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/1.049, allocations: 4.844 kB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/1.05, allocations: 180.2 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/1.05, allocations: 384 / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/1.05, allocations: 384 / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/1.05, allocations: 46 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/1.05, allocations: 4 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/1.05, allocations: 0 / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/1.05, allocations: 0 / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.953e-05/1.05, allocations: 11.98 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/1.05, allocations: 157.7 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/1.05, allocations: 46.5 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.282e-05/1.05, allocations: 12.89 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009893/1.051, allocations: 0.9895 MB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/1.051, allocations: 38.5 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/1.051, allocations: 0 / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.0001801/1.051, allocations: 65.53 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/1.051, allocations: 51.41 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.985e-05/1.051, allocations: 109.8 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/1.052, allocations: 25.7 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.87e-05/1.052, allocations: 88.14 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/1.052, allocations: 11.8 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/1.052, allocations: 17.72 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001115/1.052, allocations: 318.8 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.241e-05/1.052, allocations: 7.984 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.651e-05/1.052, allocations: 11.94 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.429e-05/1.052, allocations: 16.86 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.052, allocations: 0 / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.598e-05/1.052, allocations: 53.62 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/1.052, allocations: 11.06 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/1.052, allocations: 4 kB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/1.052, allocations: 0 / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/1.052, allocations: 19.98 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/1.052, allocations: 0 / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.238e-05/1.052, allocations: 0 / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/1.052, allocations: 0 / 1.173 GB, free: 13.38 MB / 0.9044 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.147e-05/1.052, allocations: 116 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/1.052, allocations: 7.844 kB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/1.052, allocations: 65.52 kB / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/1.052, allocations: 3.938 kB / 1.173 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/1.052, allocations: 4 kB / 1.173 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/1.052, allocations: 4 kB / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/1.053, allocations: 161.6 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.053, allocations: 4 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.316e-05/1.053, allocations: 11.98 kB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/1.053, allocations: 7.938 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/1.053, allocations: 0 / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/1.053, allocations: 0 / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/1.053, allocations: 0 / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/1.053, allocations: 77.12 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/1.053, allocations: 89.38 kB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/1.053, allocations: 0 / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.283e-05/1.053, allocations: 0 / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/1.053, allocations: 3.938 kB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/1.053, allocations: 7.984 kB / 1.174 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.935e-05/1.053, allocations: 83.28 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.053, allocations: 0 / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002425/1.053, allocations: 39.98 kB / 1.174 GB, free: 12.6 MB / 0.9044 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.0002535/1.053, allocations: 163.1 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001034/1.054, allocations: 19.98 kB / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.054, allocations: 4 kB / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.758e-05/1.054, allocations: 15.92 kB / 1.174 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/1.054, allocations: 0 / 1.174 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003554/1.054, allocations: 181.8 kB / 1.174 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/1.054, allocations: 0.6807 MB / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.214e-05/1.055, allocations: 7.438 kB / 1.175 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of SimCode: time 2.01e-07/1.055, allocations: 0 / 1.175 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of Templates: time 0.002512/1.057, allocations: 1.045 MB / 1.176 GB, free: 10.44 MB / 0.9044 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