Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_9_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.007298/0.007298, allocations: 102 kB / 15.73 MB, free: 6.039 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.001634/0.001634, allocations: 194.9 kB / 16.68 MB, free: 5.961 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.39/2.39, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 63.05 kB / 0.9504 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3104, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.003029/0.3134, allocations: 1.28 MB / 1.089 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005145/0.3186, allocations: 3.757 MB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.764e-05/0.3187, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.72e-05/0.3187, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005711/0.3193, allocations: 103.4 kB / 1.093 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000467/0.3198, allocations: 137.3 kB / 1.093 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.039e-05/0.3199, allocations: 27.92 kB / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.103e-05/0.32, allocations: 7.922 kB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.3201, allocations: 35.78 kB / 1.093 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.3202, allocations: 31.97 kB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.3202, allocations: 0 / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005238/0.3208, allocations: 311.5 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.3208, allocations: 3.938 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.567e-05/0.3208, allocations: 8 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.3211, allocations: 110.6 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3211, allocations: 8 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.264e-06/0.3211, allocations: 0 / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.799e-06/0.3211, allocations: 0 / 1.093 GB, free: 12.17 MB / 0.8575 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.0004966/0.3216, allocations: 360.2 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.3217, allocations: 8.031 kB / 1.094 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.966e-05/0.3217, allocations: 30.75 kB / 1.094 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.3218, allocations: 0.9375 kB / 1.094 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.3219, allocations: 164.4 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.322, allocations: 384 / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.322, allocations: 4.375 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.3221, allocations: 41.62 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3221, allocations: 0 / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.3221, allocations: 3.938 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.3221, allocations: 0 / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.394e-05/0.3222, allocations: 7.938 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001965/0.3224, allocations: 161.6 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.999e-05/0.3225, allocations: 22.61 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.572e-05/0.3225, allocations: 16.92 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002664/0.3228, allocations: 101 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.3228, allocations: 30.56 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.3228, allocations: 0 / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001904/0.323, allocations: 45.64 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.3231, allocations: 59.52 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.3232, allocations: 101.9 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.3232, allocations: 25.7 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.054e-05/0.3233, allocations: 80.14 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.3233, allocations: 3.906 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.027e-05/0.3234, allocations: 21.7 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002052/0.3236, allocations: 310.8 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.489e-05/0.3236, allocations: 4 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.054e-05/0.3236, allocations: 4 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.316e-05/0.3237, allocations: 20.8 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3237, allocations: 0 / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.367e-05/0.3238, allocations: 41.62 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3238, allocations: 11.94 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3238, allocations: 0 / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3238, allocations: 0 / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.408e-05/0.3239, allocations: 4 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3239, allocations: 0 / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.984e-05/0.3239, allocations: 8.031 kB / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-06/0.324, allocations: 0 / 1.095 GB, free: 10.26 MB / 0.8575 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.83e-05/0.3241, allocations: 114.4 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/0.3241, allocations: 3.938 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.3242, allocations: 48.75 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3242, allocations: 4 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.3242, allocations: 0 / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3242, allocations: 0 / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.3244, allocations: 161.6 kB / 1.095 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.3244, allocations: 3.938 kB / 1.095 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.561e-05/0.3244, allocations: 4 kB / 1.095 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3244, allocations: 3.984 kB / 1.095 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.3244, allocations: 0 / 1.095 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.3244, allocations: 0 / 1.095 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3244, allocations: 3.984 kB / 1.095 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.709e-05/0.3245, allocations: 72.98 kB / 1.095 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.278e-05/0.3246, allocations: 85.28 kB / 1.095 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.3246, allocations: 0 / 1.095 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.541e-05/0.3247, allocations: 8 kB / 1.095 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.415e-05/0.3247, allocations: 0 / 1.095 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.3247, allocations: 0 / 1.095 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.448e-05/0.3247, allocations: 83.28 kB / 1.095 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.3e-07/0.3247, allocations: 0 / 1.095 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002331/0.325, allocations: 27.98 kB / 1.095 GB, free: 9.539 MB / 0.8575 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.0004697/0.3255, allocations: 0.632 MB / 1.096 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.447e-05/0.3256, allocations: 15.94 kB / 1.096 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3256, allocations: 0 / 1.096 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.524e-05/0.3256, allocations: 4 kB / 1.096 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.3258, allocations: 17.7 kB / 1.096 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004412/0.3263, allocations: 169.2 kB / 1.096 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.3265, allocations: 0.6768 MB / 1.097 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.763e-05/0.3266, allocations: 4 kB / 1.097 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.3266, allocations: 11.44 kB / 1.097 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of SimCode: time 5.81e-07/0.3266, allocations: 4 kB / 1.097 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/0.3454, allocations: 1.647 MB / 1.098 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.488/7.834, allocations: 25.41 kB / 1.098 GB, free: 6.391 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches