Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001465/0.001465, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002383/0.002383, allocations: 221 kB / 23.03 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.368/1.368, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.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.949/2.949, allocations: 0.5003 GB / 0.8062 GB, free: 28.48 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_latest_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.00188/0.00188, allocations: 70.61 kB / 1.171 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2984, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002274/0.3007, allocations: 1.309 MB / 1.347 GB, free: 14.66 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004208/0.3049, allocations: 3.526 MB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.956e-05/0.3049, allocations: 0 / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.078e-05/0.3049, allocations: 3.938 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000466/0.3054, allocations: 107.5 kB / 1.35 GB, free: 11.01 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.3057, allocations: 129.8 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.648e-05/0.3058, allocations: 27.92 kB / 1.35 GB, free: 10.86 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.98e-05/0.3059, allocations: 11.92 kB / 1.35 GB, free: 10.85 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.306, allocations: 19.92 kB / 1.35 GB, free: 10.83 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.3061, allocations: 43.83 kB / 1.35 GB, free: 10.79 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.3061, allocations: 4 kB / 1.35 GB, free: 10.78 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004875/0.3066, allocations: 307.6 kB / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.149e-05/0.3066, allocations: 0 / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.497e-05/0.3066, allocations: 11.92 kB / 1.351 GB, free: 10.47 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.3068, allocations: 123.9 kB / 1.351 GB, free: 10.35 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3068, allocations: 0 / 1.351 GB, free: 10.35 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3068, allocations: 0 / 1.351 GB, free: 10.35 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.309e-06/0.3068, allocations: 0 / 1.351 GB, free: 10.35 MB / 1.045 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.0003958/0.3072, allocations: 290 kB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.3073, allocations: 16.02 kB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.297e-05/0.3073, allocations: 4.125 kB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.3073, allocations: 34.69 kB / 1.351 GB, free: 9.973 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.449e-05/0.3073, allocations: 8.891 kB / 1.351 GB, free: 9.965 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.903e-05/0.3074, allocations: 106.5 kB / 1.351 GB, free: 9.836 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.3075, allocations: 384 / 1.351 GB, free: 9.836 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.3075, allocations: 4.125 kB / 1.351 GB, free: 9.832 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.095e-05/0.3076, allocations: 33.7 kB / 1.351 GB, free: 9.793 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3076, allocations: 0 / 1.351 GB, free: 9.793 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.3076, allocations: 7.984 kB / 1.351 GB, free: 9.785 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.3076, allocations: 4 kB / 1.351 GB, free: 9.781 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.194e-05/0.3076, allocations: 4 kB / 1.351 GB, free: 9.777 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.3078, allocations: 120.8 kB / 1.351 GB, free: 9.617 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.168e-05/0.3078, allocations: 26.5 kB / 1.351 GB, free: 9.582 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.404e-05/0.3079, allocations: 16.86 kB / 1.351 GB, free: 9.562 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002024/0.3081, allocations: 19.98 kB / 1.351 GB, free: 9.543 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.3081, allocations: 30.56 kB / 1.351 GB, free: 9.504 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3081, allocations: 4 kB / 1.351 GB, free: 9.5 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001514/0.3082, allocations: 53.58 kB / 1.352 GB, free: 9.441 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.3083, allocations: 51.41 kB / 1.352 GB, free: 9.379 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.179e-05/0.3084, allocations: 97.86 kB / 1.352 GB, free: 9.273 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.3084, allocations: 29.7 kB / 1.352 GB, free: 9.238 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.906e-05/0.3084, allocations: 84.12 kB / 1.352 GB, free: 9.152 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.3084, allocations: 3.984 kB / 1.352 GB, free: 9.148 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.3085, allocations: 21.67 kB / 1.352 GB, free: 9.121 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.3086, allocations: 310.8 kB / 1.352 GB, free: 8.809 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.597e-05/0.3086, allocations: 4 kB / 1.352 GB, free: 8.805 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.616e-06/0.3086, allocations: 4.125 kB / 1.352 GB, free: 8.801 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.795e-05/0.3087, allocations: 16.86 kB / 1.352 GB, free: 8.781 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.3087, allocations: 0 / 1.352 GB, free: 8.781 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.852e-05/0.3087, allocations: 45.56 kB / 1.352 GB, free: 8.73 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3087, allocations: 8 kB / 1.352 GB, free: 8.723 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3087, allocations: 0 / 1.352 GB, free: 8.723 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.3088, allocations: 0 / 1.352 GB, free: 8.723 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.069e-05/0.3088, allocations: 4 kB / 1.352 GB, free: 8.719 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.3088, allocations: 0 / 1.352 GB, free: 8.719 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.49e-05/0.3088, allocations: 7.875 kB / 1.352 GB, free: 8.711 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-06/0.3088, allocations: 4.094 kB / 1.352 GB, free: 8.707 MB / 1.045 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 7.779e-05/0.3089, allocations: 117.8 kB / 1.352 GB, free: 8.582 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/0.3089, allocations: 3.938 kB / 1.352 GB, free: 8.578 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.309, allocations: 45.02 kB / 1.352 GB, free: 8.527 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.309, allocations: 3.984 kB / 1.352 GB, free: 8.523 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.309, allocations: 0 / 1.352 GB, free: 8.523 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.309, allocations: 0 / 1.352 GB, free: 8.523 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.978e-05/0.3091, allocations: 132.6 kB / 1.352 GB, free: 8.352 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3091, allocations: 256 / 1.352 GB, free: 8.352 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.564e-05/0.3092, allocations: 16.02 kB / 1.352 GB, free: 8.336 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.3092, allocations: 3.984 kB / 1.352 GB, free: 8.332 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.3092, allocations: 0 / 1.352 GB, free: 8.332 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.3092, allocations: 0 / 1.352 GB, free: 8.332 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3092, allocations: 4 kB / 1.352 GB, free: 8.328 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.563e-05/0.3093, allocations: 65.03 kB / 1.353 GB, free: 8.246 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.166e-05/0.3093, allocations: 7.984 kB / 1.353 GB, free: 8.238 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.3093, allocations: 0 / 1.353 GB, free: 8.238 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.348e-05/0.3093, allocations: 0 / 1.353 GB, free: 8.238 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.317e-06/0.3093, allocations: 0 / 1.353 GB, free: 8.238 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.3093, allocations: 8.031 kB / 1.353 GB, free: 8.23 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.141e-05/0.3094, allocations: 83.28 kB / 1.353 GB, free: 8.148 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3094, allocations: 0 / 1.353 GB, free: 8.148 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001991/0.3096, allocations: 23.92 kB / 1.353 GB, free: 8.125 MB / 1.045 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.0004479/0.31, allocations: 0.6318 MB / 1.353 GB, free: 7.461 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.076e-05/0.3101, allocations: 8 kB / 1.353 GB, free: 7.453 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.3101, allocations: 4 kB / 1.353 GB, free: 7.449 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.547e-05/0.3101, allocations: 7.938 kB / 1.353 GB, free: 7.441 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.3103, allocations: 8.141 kB / 1.353 GB, free: 7.434 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003773/0.3107, allocations: 165.7 kB / 1.353 GB, free: 7.234 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.081e-05/0.3107, allocations: 67.28 kB / 1.354 GB, free: 7.148 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.674e-05/0.3108, allocations: 7.844 kB / 1.354 GB, free: 7.141 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.3108, allocations: 15.44 kB / 1.354 GB, free: 7.125 MB / 1.045 GB Notification: Performance of SimCode: time 3e-07/0.3108, allocations: 4 kB / 1.354 GB, free: 7.121 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02146/0.3322, allocations: 1.807 MB / 1.355 GB, free: 5.461 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.84, allocations: 15.58 kB / 1.355 GB, free: 5.449 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 17.035274651949294]