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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 79.03 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00201/0.00201, allocations: 157.2 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.418/1.418, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.906/2.906, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00241/0.00241, allocations: 68.12 kB / 1.009 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8171/0.8195, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002151/0.8216, allocations: 1.376 MB / 1.188 GB, free: 15.27 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001504/0.8231, allocations: 1.041 MB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.713e-05/0.8232, allocations: 0 / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.655e-05/0.8232, allocations: 5.297 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.668e-05/0.8232, allocations: 5.719 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005906/0.8238, allocations: 226.3 kB / 1.189 GB, free: 14.51 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.959e-05/0.8239, allocations: 32.7 kB / 1.189 GB, free: 14.49 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.649e-05/0.8239, allocations: 3.922 kB / 1.189 GB, free: 14.49 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.824, allocations: 14.89 kB / 1.189 GB, free: 14.49 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.786e-05/0.8241, allocations: 16.77 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.8241, allocations: 0.9375 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006462/0.8247, allocations: 404.6 kB / 1.19 GB, free: 14.39 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.227e-05/0.8247, allocations: 6.391 kB / 1.19 GB, free: 14.39 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.292e-05/0.8248, allocations: 14.41 kB / 1.19 GB, free: 14.38 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003204/0.8251, allocations: 208.6 kB / 1.19 GB, free: 14.32 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.8251, allocations: 0 / 1.19 GB, free: 14.32 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8251, allocations: 1.094 kB / 1.19 GB, free: 14.32 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.8251, allocations: 0.7969 kB / 1.19 GB, free: 14.32 MB / 1.076 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.0003438/0.8254, allocations: 315.1 kB / 1.19 GB, free: 14.02 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.8255, allocations: 9.938 kB / 1.19 GB, free: 14.02 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/0.8255, allocations: 6.969 kB / 1.19 GB, free: 14.01 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.609e-05/0.8256, allocations: 118.4 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.8256, allocations: 5.438 kB / 1.19 GB, free: 13.87 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-06/0.8256, allocations: 1.375 kB / 1.19 GB, free: 13.87 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.801e-05/0.8257, allocations: 44.48 kB / 1.19 GB, free: 13.83 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.8257, allocations: 0 / 1.19 GB, free: 13.83 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.8257, allocations: 2.203 kB / 1.19 GB, free: 13.83 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.8257, allocations: 0 / 1.19 GB, free: 13.83 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.479e-05/0.8257, allocations: 13.53 kB / 1.19 GB, free: 13.83 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001042/0.8258, allocations: 107.6 kB / 1.191 GB, free: 13.7 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 8.354e-05/0.8259, allocations: 39.38 kB / 1.191 GB, free: 13.67 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.812e-05/0.826, allocations: 16.52 kB / 1.191 GB, free: 13.66 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000522/0.8265, allocations: 95.55 kB / 1.191 GB, free: 13.65 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/0.8265, allocations: 32.09 kB / 1.191 GB, free: 13.61 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.8265, allocations: 4 kB / 1.191 GB, free: 13.61 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0001503/0.8266, allocations: 68.88 kB / 1.191 GB, free: 13.55 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.887e-05/0.8267, allocations: 53.11 kB / 1.191 GB, free: 13.49 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.765e-05/0.8267, allocations: 109.2 kB / 1.191 GB, free: 13.39 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/0.8267, allocations: 27.5 kB / 1.191 GB, free: 13.36 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.685e-05/0.8267, allocations: 86.19 kB / 1.191 GB, free: 13.27 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.8268, allocations: 10.38 kB / 1.191 GB, free: 13.26 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.8268, allocations: 18.86 kB / 1.191 GB, free: 13.24 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.451e-05/0.8268, allocations: 313.4 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.113e-05/0.8268, allocations: 5.969 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.659e-05/0.8269, allocations: 9.125 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.204e-05/0.8269, allocations: 28.48 kB / 1.191 GB, free: 12.91 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.8269, allocations: 0 / 1.191 GB, free: 12.91 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.279e-05/0.827, allocations: 48.47 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.827, allocations: 5.609 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.827, allocations: 7.875 kB / 1.191 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.827, allocations: 1.328 kB / 1.191 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.8271, allocations: 14 kB / 1.191 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.8271, allocations: 0.7969 kB / 1.191 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.444e-05/0.8271, allocations: 9.25 kB / 1.191 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.8271, allocations: 1.031 kB / 1.191 GB, free: 12.86 MB / 1.076 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 3.885e-05/0.8272, allocations: 117.1 kB / 1.192 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.069e-05/0.8272, allocations: 9.406 kB / 1.192 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.8273, allocations: 64.52 kB / 1.192 GB, free: 12.67 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.8273, allocations: 0 / 1.192 GB, free: 12.67 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.8273, allocations: 1.703 kB / 1.192 GB, free: 12.67 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.8273, allocations: 0 / 1.192 GB, free: 12.67 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.49e-05/0.8274, allocations: 111.5 kB / 1.192 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.8274, allocations: 0.7969 kB / 1.192 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.604e-05/0.8274, allocations: 13.66 kB / 1.192 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.8274, allocations: 0 / 1.192 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.8274, allocations: 5.281 kB / 1.192 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.8274, allocations: 4.594 kB / 1.192 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.8274, allocations: 1.438 kB / 1.192 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.178e-05/0.8275, allocations: 74.81 kB / 1.192 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.276e-06/0.8275, allocations: 5.766 kB / 1.192 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.8275, allocations: 1.094 kB / 1.192 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.438e-05/0.8276, allocations: 5.859 kB / 1.192 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.221e-05/0.8276, allocations: 2.297 kB / 1.192 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.8276, allocations: 1.766 kB / 1.192 GB, free: 12.46 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.447e-05/0.8276, allocations: 95.44 kB / 1.192 GB, free: 12.37 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8276, allocations: 0 / 1.192 GB, free: 12.37 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002348/0.8279, allocations: 52.75 kB / 1.192 GB, free: 12.35 MB / 1.076 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.0001982/0.828, allocations: 162.7 kB / 1.192 GB, free: 12.24 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 9.167e-05/0.8281, allocations: 15.67 kB / 1.192 GB, free: 12.24 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.8281, allocations: 0 / 1.192 GB, free: 12.24 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.281e-05/0.8282, allocations: 12.98 kB / 1.192 GB, free: 12.24 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.8284, allocations: 6.062 kB / 1.192 GB, free: 12.24 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002649/0.8286, allocations: 163.1 kB / 1.192 GB, free: 12.1 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.125e-05/0.8287, allocations: 63.11 kB / 1.192 GB, free: 12.03 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.094e-05/0.8287, allocations: 4.812 kB / 1.192 GB, free: 12.03 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.953e-05/0.8287, allocations: 10.94 kB / 1.192 GB, free: 12.02 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.8287, allocations: 0 / 1.192 GB, free: 12.02 MB / 1.076 GB Notification: Performance of Templates: time 0.004059/0.8328, allocations: 1.264 MB / 1.194 GB, free: 11.9 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.615053546032868]