Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001749/0.001749, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001872/0.001872, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.642/1.642, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.847/2.847, allocations: 476.7 MB / 0.7678 GB, free: 9.371 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="cs",version="2.0",platforms={"static"}) [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.002042/0.002042, allocations: 67.91 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.02, allocations: 169.9 MB / 1.279 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002962/1.023, allocations: 1.38 MB / 1.28 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002169/1.025, allocations: 1.166 MB / 1.282 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.783e-05/1.025, allocations: 0 / 1.282 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.15e-05/1.025, allocations: 2.594 kB / 1.282 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.804e-05/1.025, allocations: 9.609 kB / 1.282 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000806/1.026, allocations: 220.9 kB / 1.282 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.037e-05/1.026, allocations: 38.08 kB / 1.282 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.436e-05/1.026, allocations: 1.641 kB / 1.282 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/1.026, allocations: 14.86 kB / 1.282 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.813e-05/1.026, allocations: 17.19 kB / 1.282 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/1.026, allocations: 1.531 kB / 1.282 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009301/1.027, allocations: 439.8 kB / 1.282 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/1.027, allocations: 6.219 kB / 1.282 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.148e-05/1.027, allocations: 18.39 kB / 1.282 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003884/1.028, allocations: 204.5 kB / 1.282 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.028, allocations: 0 / 1.282 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/1.028, allocations: 4 kB / 1.282 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.372e-06/1.028, allocations: 0 / 1.282 GB, free: 9.836 MB / 0.9981 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.0005883/1.028, allocations: 392.2 kB / 1.283 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/1.028, allocations: 11.03 kB / 1.283 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.388e-05/1.028, allocations: 0.9844 kB / 1.283 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.55e-05/1.028, allocations: 32.06 kB / 1.283 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/1.028, allocations: 10.61 kB / 1.283 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/1.028, allocations: 164.7 kB / 1.283 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/1.028, allocations: 9.375 kB / 1.283 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/1.028, allocations: 1.531 kB / 1.283 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/1.029, allocations: 43.55 kB / 1.283 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/1.029, allocations: 0 / 1.283 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/1.029, allocations: 4.797 kB / 1.283 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/1.029, allocations: 1.281 kB / 1.283 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.1e-05/1.029, allocations: 9.984 kB / 1.283 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002126/1.029, allocations: 160.5 kB / 1.283 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/1.029, allocations: 44.38 kB / 1.283 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.4e-05/1.029, allocations: 11.47 kB / 1.283 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/1.03, allocations: 0.9976 MB / 1.284 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/1.03, allocations: 35.2 kB / 1.284 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/1.03, allocations: 0 / 1.284 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.000227/1.03, allocations: 56.89 kB / 1.284 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/1.03, allocations: 52.72 kB / 1.284 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/1.031, allocations: 110 kB / 1.285 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/1.031, allocations: 25.7 kB / 1.285 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.577e-05/1.031, allocations: 90.22 kB / 1.285 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/1.031, allocations: 14.89 kB / 1.285 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-05/1.031, allocations: 17.88 kB / 1.285 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001625/1.031, allocations: 313.8 kB / 1.285 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.37e-05/1.031, allocations: 5.156 kB / 1.285 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.272e-05/1.031, allocations: 13.52 kB / 1.285 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.035e-05/1.031, allocations: 24.48 kB / 1.285 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.031, allocations: 0 / 1.285 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.948e-05/1.031, allocations: 57.02 kB / 1.285 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/1.031, allocations: 9.969 kB / 1.285 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/1.031, allocations: 0 / 1.285 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/1.031, allocations: 0 / 1.285 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/1.031, allocations: 14.72 kB / 1.285 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/1.031, allocations: 0 / 1.285 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.931e-05/1.031, allocations: 9.109 kB / 1.285 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/1.031, allocations: 2.266 kB / 1.285 GB, free: 6.973 MB / 0.9981 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 0.000114/1.031, allocations: 122.4 kB / 1.285 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/1.031, allocations: 5.969 kB / 1.285 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001606/1.032, allocations: 63.38 kB / 1.285 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/1.032, allocations: 1.594 kB / 1.285 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/1.032, allocations: 0 / 1.285 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.032, allocations: 0.5625 kB / 1.285 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/1.032, allocations: 158.3 kB / 1.285 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/1.032, allocations: 3.938 kB / 1.285 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.939e-05/1.032, allocations: 13.56 kB / 1.285 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/1.032, allocations: 1.062 kB / 1.285 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/1.032, allocations: 1.984 kB / 1.285 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.032, allocations: 0 / 1.285 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.032, allocations: 8.812 kB / 1.285 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/1.032, allocations: 78.02 kB / 1.286 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.494e-05/1.032, allocations: 83.73 kB / 1.286 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/1.032, allocations: 1.5 kB / 1.286 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.379e-05/1.032, allocations: 1.312 kB / 1.286 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.352e-05/1.032, allocations: 1.156 kB / 1.286 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/1.032, allocations: 1.656 kB / 1.286 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.681e-05/1.032, allocations: 90.84 kB / 1.286 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.032, allocations: 0 / 1.286 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000303/1.033, allocations: 45.16 kB / 1.286 GB, free: 6.32 MB / 0.9981 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.0007544/1.033, allocations: 0.6813 MB / 1.286 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001327/1.033, allocations: 15.61 kB / 1.286 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.033, allocations: 5.312 kB / 1.286 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3e-05/1.034, allocations: 15.78 kB / 1.286 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/1.034, allocations: 4.75 kB / 1.286 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000556/1.034, allocations: 208.8 kB / 1.287 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/1.035, allocations: 0.6797 MB / 1.287 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.925e-05/1.035, allocations: 14.64 kB / 1.287 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.379e-05/1.035, allocations: 18.36 kB / 1.287 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/1.035, allocations: 0 / 1.287 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02096/1.056, allocations: 2.37 MB / 1.29 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.433/9.488, allocations: 3.719 kB / 1.29 GB, free: 4.371 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 16.078570742043667]