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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_11_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.006032/0.006032, allocations: 99.58 kB / 15.73 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 194.6 kB / 16.68 MB, free: 5.91 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.539/2.539, allocations: 469.8 MB / 0.7425 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 67.84 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7745/0.7764, allocations: 159.1 MB / 1.22 GB, free: 2 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.00231/0.7787, allocations: 1.288 MB / 1.221 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0045/0.7832, allocations: 3.752 MB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.723e-05/0.7833, allocations: 0 / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.576e-05/0.7833, allocations: 7.875 kB / 1.225 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004032/0.7837, allocations: 99.48 kB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.7841, allocations: 143.5 kB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 5.938e-05/0.7841, allocations: 23.92 kB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 2.942e-05/0.7842, allocations: 0 / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.402e-05/0.7843, allocations: 27.91 kB / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.645e-05/0.7844, allocations: 39.84 kB / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.707e-06/0.7844, allocations: 0 / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004806/0.7849, allocations: 311.5 kB / 1.226 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.7849, allocations: 4 kB / 1.226 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.188e-05/0.7849, allocations: 3.938 kB / 1.226 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.7851, allocations: 123.3 kB / 1.226 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.7851, allocations: 4 kB / 1.226 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7852, allocations: 4 kB / 1.226 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.7852, allocations: 0 / 1.226 GB, free: 12.16 MB / 0.9512 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.0004273/0.7856, allocations: 355.1 kB / 1.226 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.7856, allocations: 12.03 kB / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.103e-05/0.7857, allocations: 30.75 kB / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.852e-05/0.7857, allocations: 0.9375 kB / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.7859, allocations: 180.2 kB / 1.226 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.7859, allocations: 384 / 1.226 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.7859, allocations: 4.375 kB / 1.226 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.377e-05/0.786, allocations: 33.64 kB / 1.226 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.7861, allocations: 3.984 kB / 1.226 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.231e-06/0.7861, allocations: 0 / 1.226 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.7861, allocations: 0 / 1.226 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.386e-05/0.7861, allocations: 11.98 kB / 1.226 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.7863, allocations: 149.7 kB / 1.227 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.261e-05/0.7863, allocations: 30.53 kB / 1.227 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.762e-05/0.7864, allocations: 8.922 kB / 1.227 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000235/0.7866, allocations: 101 kB / 1.227 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.7866, allocations: 34.56 kB / 1.227 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.7867, allocations: 0 / 1.227 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.000138/0.7868, allocations: 45.64 kB / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.7868, allocations: 59.47 kB / 1.227 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.116e-05/0.7869, allocations: 105.8 kB / 1.227 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.787, allocations: 29.64 kB / 1.227 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.787, allocations: 84.14 kB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.787, allocations: 3.953 kB / 1.227 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.7871, allocations: 13.72 kB / 1.227 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.7872, allocations: 310.8 kB / 1.227 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.61e-05/0.7872, allocations: 8 kB / 1.227 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.18e-05/0.7872, allocations: 7.984 kB / 1.227 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.176e-05/0.7873, allocations: 12.86 kB / 1.227 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.7873, allocations: 0 / 1.227 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.436e-05/0.7874, allocations: 41.64 kB / 1.227 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.7874, allocations: 8 kB / 1.227 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.7874, allocations: 0 / 1.227 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.7874, allocations: 0 / 1.227 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.823e-05/0.7875, allocations: 11.88 kB / 1.227 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.7875, allocations: 0 / 1.227 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.792e-05/0.7875, allocations: 8.078 kB / 1.227 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.7875, allocations: 0 / 1.227 GB, free: 10.23 MB / 0.9512 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.862e-05/0.7876, allocations: 106.6 kB / 1.228 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-06/0.7876, allocations: 7.938 kB / 1.228 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.849e-05/0.7877, allocations: 44.81 kB / 1.228 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.7877, allocations: 4 kB / 1.228 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.7877, allocations: 0 / 1.228 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.7877, allocations: 32 / 1.228 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.7879, allocations: 161.6 kB / 1.228 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.7879, allocations: 3.938 kB / 1.228 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.165e-05/0.7879, allocations: 4.25 kB / 1.228 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.7879, allocations: 0 / 1.228 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.7879, allocations: 7.938 kB / 1.228 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.7879, allocations: 0 / 1.228 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.7879, allocations: 0 / 1.228 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.51e-05/0.788, allocations: 69.12 kB / 1.228 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.166e-05/0.7881, allocations: 85.05 kB / 1.228 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.7881, allocations: 0 / 1.228 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.585e-05/0.7881, allocations: 7.938 kB / 1.228 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.243e-05/0.7881, allocations: 0 / 1.228 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.7881, allocations: 3.984 kB / 1.228 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4e-05/0.7882, allocations: 79.28 kB / 1.228 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7882, allocations: 0 / 1.228 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002192/0.7884, allocations: 27.88 kB / 1.228 GB, free: 9.535 MB / 0.9512 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.0005179/0.7889, allocations: 0.6358 MB / 1.229 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.77e-05/0.789, allocations: 11.98 kB / 1.229 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.789, allocations: 0 / 1.229 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.307e-05/0.789, allocations: 4 kB / 1.229 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.7893, allocations: 8.156 kB / 1.229 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003858/0.7897, allocations: 173.1 kB / 1.229 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.79, allocations: 0.6729 MB / 1.23 GB, free: 7.938 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.796e-05/0.79, allocations: 7.922 kB / 1.23 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.79, allocations: 11.44 kB / 1.23 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.7901, allocations: 4 kB / 1.23 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7985/1.589, allocations: 1.654 MB / 1.231 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.61/16.2, allocations: 17.06 kB / 1.231 GB, free: 6.395 MB / 0.9512 GB (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 --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) 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) Reference file matches