Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.001285/0.001285, 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.00134/0.00134, 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.401/1.401, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.637/2.637, allocations: 476.7 MB / 0.7678 GB, free: 9.41 MB / 0.6075 GB " [Timeout remaining time 177] 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.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",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.001943/0.001943, allocations: 69.94 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.921/0.9229, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002806/0.9257, allocations: 1.305 MB / 1.28 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005241/0.931, allocations: 3.843 MB / 1.284 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.423e-05/0.931, allocations: 0 / 1.284 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.555e-05/0.931, allocations: 0.5156 kB / 1.284 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000459/0.9315, allocations: 102.6 kB / 1.284 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.9319, allocations: 139.4 kB / 1.284 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.384e-05/0.9319, allocations: 30.12 kB / 1.284 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.503e-05/0.932, allocations: 2.094 kB / 1.284 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.9321, allocations: 30.69 kB / 1.284 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.82e-05/0.9322, allocations: 33.88 kB / 1.284 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.926e-06/0.9322, allocations: 1.344 kB / 1.284 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004978/0.9327, allocations: 308.9 kB / 1.285 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.045e-05/0.9327, allocations: 2.094 kB / 1.285 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.328e-05/0.9327, allocations: 11.06 kB / 1.285 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.933, allocations: 124.6 kB / 1.285 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.933, allocations: 0 / 1.285 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.894e-06/0.933, allocations: 0 / 1.285 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.933, allocations: 1.438 kB / 1.285 GB, free: 7.781 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004542/0.9334, allocations: 361.2 kB / 1.285 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.9335, allocations: 9.562 kB / 1.285 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.826e-05/0.9335, allocations: 192 / 1.285 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.888e-05/0.9335, allocations: 32.16 kB / 1.285 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.371e-05/0.9335, allocations: 2.438 kB / 1.285 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.9337, allocations: 174.9 kB / 1.285 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.9337, allocations: 384 / 1.285 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.9337, allocations: 5.312 kB / 1.285 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.583e-05/0.9338, allocations: 35.66 kB / 1.285 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.9338, allocations: 3.938 kB / 1.285 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.9338, allocations: 0 / 1.285 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.9338, allocations: 6.047 kB / 1.285 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.246e-05/0.9339, allocations: 4.453 kB / 1.285 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001846/0.9341, allocations: 160.3 kB / 1.286 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.774e-05/0.9341, allocations: 24.73 kB / 1.286 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.574e-05/0.9341, allocations: 15.89 kB / 1.286 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002417/0.9344, allocations: 101.4 kB / 1.286 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.9344, allocations: 35.31 kB / 1.286 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.9344, allocations: 5.344 kB / 1.286 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001586/0.9346, allocations: 45.86 kB / 1.286 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.9346, allocations: 51.41 kB / 1.286 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.738e-05/0.9347, allocations: 103.2 kB / 1.286 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.9347, allocations: 25.7 kB / 1.286 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.165e-05/0.9347, allocations: 81.55 kB / 1.286 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.9348, allocations: 6.125 kB / 1.286 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.9348, allocations: 13.23 kB / 1.286 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.9349, allocations: 321.2 kB / 1.286 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/0.935, allocations: 2.625 kB / 1.286 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.031e-05/0.935, allocations: 1.922 kB / 1.286 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.609e-05/0.935, allocations: 19.78 kB / 1.286 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.935, allocations: 0 / 1.286 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.666e-05/0.9351, allocations: 40.97 kB / 1.286 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.9351, allocations: 6.047 kB / 1.286 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.9351, allocations: 0 / 1.286 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.9351, allocations: 5.281 kB / 1.286 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.185e-05/0.9352, allocations: 3.141 kB / 1.286 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.9352, allocations: 1.062 kB / 1.286 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.787e-05/0.9352, allocations: 3.953 kB / 1.286 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.9352, allocations: 1.219 kB / 1.286 GB, free: 6.008 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 (2): * Single equations (assignments): 2 * 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.672e-05/0.9353, allocations: 113.5 kB / 1.286 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.9353, allocations: 5.469 kB / 1.286 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.9354, allocations: 54.08 kB / 1.287 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.9354, allocations: 2.141 kB / 1.287 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.9354, allocations: 0 / 1.287 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.9354, allocations: 0 / 1.287 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.9355, allocations: 157.9 kB / 1.287 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.9355, allocations: 0.7969 kB / 1.287 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.373e-05/0.9356, allocations: 3.438 kB / 1.287 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.9356, allocations: 4.688 kB / 1.287 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.9356, allocations: 1.062 kB / 1.287 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.9356, allocations: 0 / 1.287 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.9356, allocations: 9.438 kB / 1.287 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.61e-05/0.9357, allocations: 73.55 kB / 1.287 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.053e-05/0.9357, allocations: 83.91 kB / 1.287 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.9357, allocations: 1.828 kB / 1.287 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.496e-05/0.9358, allocations: 0.9375 kB / 1.287 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/0.9358, allocations: 1.547 kB / 1.287 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.9358, allocations: 5.094 kB / 1.287 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.629e-05/0.9358, allocations: 84.11 kB / 1.287 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.9358, allocations: 5.125 kB / 1.287 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002139/0.936, allocations: 26.06 kB / 1.287 GB, free: 5.363 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 (2): * Single equations (assignments): 2 * 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.0005017/0.9365, allocations: 0.6242 MB / 1.288 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.771e-05/0.9366, allocations: 17.73 kB / 1.288 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.9366, allocations: 4.094 kB / 1.288 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.345e-05/0.9366, allocations: 4.594 kB / 1.288 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.9369, allocations: 2.531 kB / 1.288 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004588/0.9373, allocations: 181.9 kB / 1.288 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.9376, allocations: 0.6752 MB / 1.288 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.704e-05/0.9376, allocations: 7.406 kB / 1.288 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/0.9377, allocations: 14.55 kB / 1.288 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of SimCode: time 2.6e-07/0.9377, allocations: 0 / 1.288 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01735/0.955, allocations: 1.709 MB / 1.29 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.786/8.741, allocations: 9.75 kB / 1.29 GB, free: 3.488 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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: 14.547640096978284]