Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009704/0.0009698, allocations: 92.16 kB / 16.02 MB, free: 80 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.001108/0.001107, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.497/1.497, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.801/2.801, allocations: 443.2 MB / 0.7181 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.000388, allocations: 11.91 kB / 0.8802 GB, free: 42.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.3993, allocations: 155.1 MB / 1.032 GB, free: 4.695 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001795/0.4012, allocations: 1.085 MB / 1.033 GB, free: 3.598 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002178/0.4034, allocations: 1.115 MB / 1.034 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.633e-05/0.4035, allocations: 0 / 1.034 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.99e-05/0.4035, allocations: 0 / 1.034 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.001e-05/0.4036, allocations: 19.84 kB / 1.034 GB, free: 2.453 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000907/0.4045, allocations: 147.6 kB / 1.034 GB, free: 2.309 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.943e-05/0.4046, allocations: 31.86 kB / 1.034 GB, free: 2.277 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.691e-05/0.4047, allocations: 4 kB / 1.034 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.736e-05/0.4048, allocations: 15.92 kB / 1.034 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.019e-05/0.4048, allocations: 15.92 kB / 1.034 GB, free: 2.242 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.4049, allocations: 0 / 1.034 GB, free: 2.242 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007475/0.4056, allocations: 431.4 kB / 1.034 GB, free: 1.82 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.4056, allocations: 0 / 1.034 GB, free: 1.82 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.225e-05/0.4057, allocations: 37.64 kB / 1.034 GB, free: 1.777 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003369/0.4061, allocations: 144 kB / 1.035 GB, free: 1.637 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4061, allocations: 0 / 1.035 GB, free: 1.637 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.505e-06/0.4061, allocations: 0 / 1.035 GB, free: 1.637 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.4061, allocations: 4 kB / 1.035 GB, free: 1.633 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.0005249/0.4066, allocations: 379.4 kB / 1.035 GB, free: 1.215 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.4067, allocations: 8.031 kB / 1.035 GB, free: 1.207 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.4067, allocations: 0.9375 kB / 1.035 GB, free: 1.207 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.4069, allocations: 172.3 kB / 1.035 GB, free: 1 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.4069, allocations: 384 / 1.035 GB, free: 1 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.4069, allocations: 4.375 kB / 1.035 GB, free: 0.9961 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.407, allocations: 46 kB / 1.035 GB, free: 0.9453 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.407, allocations: 3.984 kB / 1.035 GB, free: 0.9414 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.4071, allocations: 0 / 1.035 GB, free: 0.9414 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.4071, allocations: 0 / 1.035 GB, free: 0.9414 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.353e-05/0.4071, allocations: 19.92 kB / 1.035 GB, free: 0.9219 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.4073, allocations: 157.7 kB / 1.035 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.4074, allocations: 38.61 kB / 1.035 GB, free: 0.6719 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.455e-05/0.4075, allocations: 20.89 kB / 1.035 GB, free: 0.6484 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009852/0.4085, allocations: 0.9856 MB / 1.036 GB, free: 15.44 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.4085, allocations: 34.5 kB / 1.036 GB, free: 15.4 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.4085, allocations: 0 / 1.036 GB, free: 15.4 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0001911/0.4087, allocations: 57.62 kB / 1.037 GB, free: 15.34 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.4088, allocations: 55.39 kB / 1.037 GB, free: 15.27 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.507e-05/0.4089, allocations: 105.8 kB / 1.037 GB, free: 15.16 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.4089, allocations: 33.64 kB / 1.037 GB, free: 15.12 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/0.4089, allocations: 88.12 kB / 1.037 GB, free: 15.03 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.409, allocations: 15.75 kB / 1.037 GB, free: 15.01 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.009e-05/0.409, allocations: 17.72 kB / 1.037 GB, free: 14.99 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.4092, allocations: 310.8 kB / 1.037 GB, free: 14.68 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.105e-05/0.4092, allocations: 7.984 kB / 1.037 GB, free: 14.67 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.68e-05/0.4092, allocations: 8 kB / 1.037 GB, free: 14.66 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.822e-05/0.4093, allocations: 24.8 kB / 1.037 GB, free: 14.63 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4093, allocations: 3.938 kB / 1.037 GB, free: 14.63 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.378e-05/0.4094, allocations: 49.69 kB / 1.037 GB, free: 14.57 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.4094, allocations: 7.938 kB / 1.037 GB, free: 14.57 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.4094, allocations: 4 kB / 1.037 GB, free: 14.56 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.4094, allocations: 0 / 1.037 GB, free: 14.56 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.4095, allocations: 15.98 kB / 1.037 GB, free: 14.55 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.4096, allocations: 0 / 1.037 GB, free: 14.55 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.638e-05/0.4096, allocations: 3.906 kB / 1.037 GB, free: 14.54 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.4096, allocations: 4 kB / 1.037 GB, free: 14.54 MB / 0.795 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.935e-05/0.4097, allocations: 109.8 kB / 1.037 GB, free: 14.42 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.4097, allocations: 7.938 kB / 1.037 GB, free: 14.41 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.4098, allocations: 71.34 kB / 1.037 GB, free: 14.34 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4099, allocations: 0 / 1.037 GB, free: 14.34 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.4099, allocations: 4.375 kB / 1.037 GB, free: 14.33 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.4099, allocations: 0 / 1.037 GB, free: 14.33 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.41, allocations: 157.7 kB / 1.038 GB, free: 14.13 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.41, allocations: 0 / 1.038 GB, free: 14.13 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.731e-05/0.4101, allocations: 15.98 kB / 1.038 GB, free: 14.11 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.4101, allocations: 7.922 kB / 1.038 GB, free: 14.11 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.455e-06/0.4101, allocations: 0 / 1.038 GB, free: 14.11 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4101, allocations: 0 / 1.038 GB, free: 14.11 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4101, allocations: 0 / 1.038 GB, free: 14.11 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.4102, allocations: 88.97 kB / 1.038 GB, free: 14 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.4103, allocations: 81.05 kB / 1.038 GB, free: 13.9 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.4103, allocations: 0 / 1.038 GB, free: 13.9 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.183e-05/0.4103, allocations: 0 / 1.038 GB, free: 13.9 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.747e-05/0.4104, allocations: 4 kB / 1.038 GB, free: 13.9 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.4104, allocations: 3.984 kB / 1.038 GB, free: 13.89 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.319e-05/0.4104, allocations: 87.22 kB / 1.038 GB, free: 13.81 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4104, allocations: 0 / 1.038 GB, free: 13.81 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002535/0.4107, allocations: 51.92 kB / 1.038 GB, free: 13.76 MB / 0.795 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.0002628/0.4109, allocations: 151.2 kB / 1.038 GB, free: 13.6 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 9.924e-05/0.4111, allocations: 23.94 kB / 1.038 GB, free: 13.57 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4111, allocations: 0 / 1.038 GB, free: 13.57 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.027e-05/0.4111, allocations: 8 kB / 1.038 GB, free: 13.57 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.4113, allocations: 7.984 kB / 1.038 GB, free: 13.56 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003503/0.4117, allocations: 204.1 kB / 1.038 GB, free: 13.33 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.4119, allocations: 0.6809 MB / 1.039 GB, free: 12.62 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.412, allocations: 11.44 kB / 1.039 GB, free: 12.61 MB / 0.795 GB Notification: Performance of SimCode: time 6.72e-07/0.412, allocations: 0 / 1.039 GB, free: 12.61 MB / 0.795 GB Notification: Performance of Templates: time 0.002866/0.4149, allocations: 1.031 MB / 1.04 GB, free: 11.59 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches