Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001675/0.001675, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.002156/0.002156, allocations: 215 kB / 20.13 MB, free: 2.949 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.646/1.646, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.195/3.195, allocations: 0.49 GB / 0.7923 GB, free: 1.266 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002288/0.002288, allocations: 71.89 kB / 1.15 GB, free: 14.37 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.008, allocations: 176.1 MB / 1.322 GB, free: 7.652 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003856/1.011, allocations: 1.381 MB / 1.323 GB, free: 6.562 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002468/1.014, allocations: 1.156 MB / 1.324 GB, free: 5.652 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.41e-05/1.014, allocations: 4 kB / 1.324 GB, free: 5.648 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.396e-05/1.014, allocations: 5.062 kB / 1.324 GB, free: 5.645 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.247e-05/1.014, allocations: 5.125 kB / 1.324 GB, free: 5.641 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/1.015, allocations: 232.6 kB / 1.324 GB, free: 5.496 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/1.015, allocations: 29.7 kB / 1.324 GB, free: 5.48 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.685e-05/1.015, allocations: 10.73 kB / 1.324 GB, free: 5.473 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/1.015, allocations: 19.52 kB / 1.324 GB, free: 5.461 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.278e-05/1.016, allocations: 17.98 kB / 1.324 GB, free: 5.449 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/1.016, allocations: 1.406 kB / 1.324 GB, free: 5.449 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000763/1.016, allocations: 433.6 kB / 1.325 GB, free: 5.219 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/1.016, allocations: 3.984 kB / 1.325 GB, free: 5.215 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.255e-05/1.016, allocations: 13 kB / 1.325 GB, free: 5.207 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003898/1.017, allocations: 205.3 kB / 1.325 GB, free: 5.086 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/1.017, allocations: 1.062 kB / 1.325 GB, free: 5.086 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.415e-06/1.017, allocations: 0 / 1.325 GB, free: 5.086 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.856e-06/1.017, allocations: 7.938 kB / 1.325 GB, free: 5.078 MB / 1.014 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.0006078/1.017, allocations: 399.5 kB / 1.325 GB, free: 4.664 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/1.017, allocations: 9.344 kB / 1.325 GB, free: 4.664 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.59e-05/1.017, allocations: 1.625 kB / 1.325 GB, free: 4.664 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.508e-05/1.018, allocations: 30.75 kB / 1.325 GB, free: 4.625 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/1.018, allocations: 2.375 kB / 1.325 GB, free: 4.625 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/1.018, allocations: 174.9 kB / 1.326 GB, free: 4.418 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/1.018, allocations: 5.844 kB / 1.326 GB, free: 4.414 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/1.018, allocations: 5.75 kB / 1.326 GB, free: 4.41 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/1.018, allocations: 38.94 kB / 1.326 GB, free: 4.371 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/1.018, allocations: 1.406 kB / 1.326 GB, free: 4.371 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/1.018, allocations: 0 / 1.326 GB, free: 4.371 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/1.018, allocations: 0 / 1.326 GB, free: 4.371 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.571e-05/1.018, allocations: 17.06 kB / 1.326 GB, free: 4.363 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002314/1.018, allocations: 155.3 kB / 1.326 GB, free: 4.168 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/1.018, allocations: 45.88 kB / 1.326 GB, free: 4.129 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.739e-05/1.018, allocations: 15.3 kB / 1.326 GB, free: 4.117 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001231/1.02, allocations: 0.9944 MB / 1.327 GB, free: 2.953 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/1.02, allocations: 31.69 kB / 1.327 GB, free: 2.914 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/1.02, allocations: 0 / 1.327 GB, free: 2.914 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0001935/1.02, allocations: 60.72 kB / 1.327 GB, free: 2.867 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/1.02, allocations: 52.94 kB / 1.327 GB, free: 2.805 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.256e-05/1.02, allocations: 105.3 kB / 1.327 GB, free: 2.699 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/1.02, allocations: 26.73 kB / 1.327 GB, free: 2.668 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.987e-05/1.02, allocations: 81.3 kB / 1.327 GB, free: 2.586 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/1.02, allocations: 21.28 kB / 1.327 GB, free: 2.566 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/1.02, allocations: 21.61 kB / 1.327 GB, free: 2.543 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001427/1.02, allocations: 312.1 kB / 1.327 GB, free: 2.23 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/1.02, allocations: 4.438 kB / 1.327 GB, free: 2.23 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.001e-05/1.02, allocations: 8.281 kB / 1.328 GB, free: 2.227 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.758e-05/1.02, allocations: 22.84 kB / 1.328 GB, free: 2.211 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.02, allocations: 3.938 kB / 1.328 GB, free: 2.207 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.12e-05/1.02, allocations: 61.23 kB / 1.328 GB, free: 2.156 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/1.02, allocations: 10.19 kB / 1.328 GB, free: 2.152 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/1.02, allocations: 4 kB / 1.328 GB, free: 2.148 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/1.02, allocations: 0 / 1.328 GB, free: 2.148 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/1.021, allocations: 11.47 kB / 1.328 GB, free: 2.148 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/1.021, allocations: 1.156 kB / 1.328 GB, free: 2.148 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.2e-05/1.021, allocations: 0 / 1.328 GB, free: 2.148 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/1.021, allocations: 6.375 kB / 1.328 GB, free: 2.145 MB / 1.014 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 9.115e-05/1.021, allocations: 115 kB / 1.328 GB, free: 2.023 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/1.021, allocations: 5.938 kB / 1.328 GB, free: 2.02 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/1.021, allocations: 68.06 kB / 1.328 GB, free: 1.953 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/1.021, allocations: 1.062 kB / 1.328 GB, free: 1.953 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.021, allocations: 0.9375 kB / 1.328 GB, free: 1.953 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/1.021, allocations: 0 / 1.328 GB, free: 1.953 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/1.021, allocations: 164.9 kB / 1.328 GB, free: 1.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/1.021, allocations: 3.938 kB / 1.328 GB, free: 1.746 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.291e-05/1.021, allocations: 12.66 kB / 1.328 GB, free: 1.746 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/1.021, allocations: 0 / 1.328 GB, free: 1.746 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/1.021, allocations: 1.25 kB / 1.328 GB, free: 1.746 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/1.021, allocations: 0 / 1.328 GB, free: 1.746 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.021, allocations: 0 / 1.328 GB, free: 1.746 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/1.021, allocations: 86.89 kB / 1.328 GB, free: 1.66 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.71e-05/1.021, allocations: 86.09 kB / 1.328 GB, free: 1.559 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/1.021, allocations: 1.406 kB / 1.328 GB, free: 1.559 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.169e-05/1.021, allocations: 0 / 1.328 GB, free: 1.559 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.441e-05/1.021, allocations: 1.281 kB / 1.328 GB, free: 1.559 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/1.021, allocations: 2.344 kB / 1.328 GB, free: 1.559 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.314e-05/1.021, allocations: 92.25 kB / 1.328 GB, free: 1.473 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.021, allocations: 4 kB / 1.328 GB, free: 1.469 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002528/1.022, allocations: 42.31 kB / 1.328 GB, free: 1.457 MB / 1.014 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.0006421/1.022, allocations: 0.6821 MB / 1.329 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.827e-05/1.022, allocations: 16.97 kB / 1.329 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.022, allocations: 0.9375 kB / 1.329 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.688e-05/1.022, allocations: 19.86 kB / 1.329 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/1.023, allocations: 4.344 kB / 1.329 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004859/1.023, allocations: 214.5 kB / 1.329 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/1.023, allocations: 0.6785 MB / 1.33 GB, free: 15.91 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.205e-05/1.023, allocations: 7.469 kB / 1.33 GB, free: 15.9 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.659e-05/1.024, allocations: 14.66 kB / 1.33 GB, free: 15.89 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/1.024, allocations: 0 / 1.33 GB, free: 15.89 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/1.043, allocations: 2.348 MB / 1.332 GB, free: 14.73 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.44/9.483, allocations: 11.78 kB / 1.332 GB, free: 14.72 MB / 1.029 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.470332083990797]