Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001174, allocations: 197.1 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.566/2.566, allocations: 437.1 MB / 0.7104 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 63.91 kB / 0.8694 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.76/0.7616, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002601/0.7642, allocations: 1.284 MB / 1.019 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003989/0.7682, allocations: 3.755 MB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.355e-05/0.7683, allocations: 4 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.912e-05/0.7683, allocations: 3.984 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004241/0.7688, allocations: 99.42 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.7691, allocations: 135.4 kB / 1.023 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.128e-05/0.7692, allocations: 27.92 kB / 1.023 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.526e-05/0.7692, allocations: 4 kB / 1.023 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.675e-05/0.7693, allocations: 35.84 kB / 1.023 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.834e-05/0.7694, allocations: 39.89 kB / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.428e-06/0.7694, allocations: 0 / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000406/0.7698, allocations: 295.6 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.7699, allocations: 0 / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.497e-05/0.7699, allocations: 15.88 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.7701, allocations: 122 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.7701, allocations: 0 / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7701, allocations: 4 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.7701, allocations: 0 / 1.023 GB, free: 12.64 MB / 0.7794 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.0003449/0.7705, allocations: 351.5 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.7705, allocations: 12.03 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.7705, allocations: 34.73 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.149e-05/0.7706, allocations: 4.844 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.7707, allocations: 168.3 kB / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.7707, allocations: 384 / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.7707, allocations: 4.375 kB / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.333e-05/0.7708, allocations: 37.64 kB / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.7708, allocations: 0 / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.7708, allocations: 0 / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.7708, allocations: 0 / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.407e-05/0.7709, allocations: 11.92 kB / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/0.771, allocations: 153.7 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.746e-05/0.7711, allocations: 26.61 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.965e-05/0.7711, allocations: 8.859 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002271/0.7713, allocations: 109 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.7714, allocations: 34.56 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.7714, allocations: 0 / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001426/0.7715, allocations: 53.53 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.7715, allocations: 51.41 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.632e-05/0.7716, allocations: 109.9 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.7716, allocations: 29.7 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.852e-05/0.7717, allocations: 80.14 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.7717, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.7717, allocations: 17.72 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.689e-05/0.7718, allocations: 310.8 kB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.656e-05/0.7719, allocations: 3.984 kB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.006e-05/0.7719, allocations: 4 kB / 1.025 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.44e-05/0.7719, allocations: 20.92 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.7719, allocations: 0 / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.792e-05/0.772, allocations: 45.48 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.772, allocations: 4 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.772, allocations: 0 / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.7721, allocations: 4 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.938e-05/0.7721, allocations: 3.984 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.7721, allocations: 0 / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.331e-05/0.7722, allocations: 8.25 kB / 1.025 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.7722, allocations: 4.031 kB / 1.025 GB, free: 10.71 MB / 0.7794 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.673e-05/0.7723, allocations: 107.4 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.7723, allocations: 7.938 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/0.7724, allocations: 52.75 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.7724, allocations: 0 / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.7724, allocations: 0 / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.7724, allocations: 0 / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.7725, allocations: 157.7 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.7725, allocations: 7.969 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.157e-05/0.7726, allocations: 0 / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.7726, allocations: 4 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.7726, allocations: 0 / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.7726, allocations: 0 / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.7726, allocations: 0 / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.24e-05/0.7727, allocations: 65.12 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.442e-05/0.7728, allocations: 92.92 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.7728, allocations: 0 / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.736e-05/0.7728, allocations: 0 / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.098e-05/0.7728, allocations: 15.86 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.7728, allocations: 0 / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.262e-05/0.7729, allocations: 83.28 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7729, allocations: 0 / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002063/0.7731, allocations: 23.94 kB / 1.025 GB, free: 10 MB / 0.7794 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.0004694/0.7736, allocations: 0.6358 MB / 1.026 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.617e-05/0.7737, allocations: 15.94 kB / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7737, allocations: 0 / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.298e-05/0.7737, allocations: 4 kB / 1.026 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.774, allocations: 7.984 kB / 1.026 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004731/0.7745, allocations: 169.5 kB / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.7748, allocations: 0.6768 MB / 1.027 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.626e-05/0.7748, allocations: 7.938 kB / 1.027 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.7749, allocations: 11.44 kB / 1.027 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.7749, allocations: 4 kB / 1.027 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.454/2.228, allocations: 1.625 MB / 1.028 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.789/11.02, allocations: 8.453 kB / 1.028 GB, free: 6.879 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches