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.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_latest_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.006926/0.006926, allocations: 100.6 kB / 15.73 MB, free: 6.453 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.001444/0.001444, allocations: 184.8 kB / 16.67 MB, free: 6.367 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.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.799/2.799, allocations: 461.9 MB / 0.7348 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 59.91 kB / 1.054 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3019, allocations: 157.4 MB / 1.207 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002349/0.3042, allocations: 1.283 MB / 1.209 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004844/0.3091, allocations: 3.774 MB / 1.212 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.974e-05/0.3092, allocations: 0 / 1.212 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.879e-05/0.3092, allocations: 7.922 kB / 1.212 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005124/0.3097, allocations: 95.48 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003948/0.3102, allocations: 131.5 kB / 1.212 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.987e-05/0.3102, allocations: 35.84 kB / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.511e-05/0.3103, allocations: 0 / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.3104, allocations: 23.92 kB / 1.212 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.3105, allocations: 39.89 kB / 1.213 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.3105, allocations: 0 / 1.213 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004625/0.311, allocations: 307.6 kB / 1.213 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.311, allocations: 3.984 kB / 1.213 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.96e-05/0.3111, allocations: 11.92 kB / 1.213 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.3113, allocations: 120 kB / 1.213 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3113, allocations: 0 / 1.213 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3113, allocations: 4 kB / 1.213 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.3113, allocations: 0 / 1.213 GB, free: 4.352 MB / 0.9669 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.0004316/0.3118, allocations: 359.4 kB / 1.213 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.3118, allocations: 8.625 kB / 1.213 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.751e-05/0.3119, allocations: 30.75 kB / 1.213 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.3119, allocations: 4.938 kB / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.3121, allocations: 164.3 kB / 1.214 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.3121, allocations: 384 / 1.214 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.3121, allocations: 384 / 1.214 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.3122, allocations: 49.56 kB / 1.214 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.3122, allocations: 0 / 1.214 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.3123, allocations: 0 / 1.214 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.3123, allocations: 4 kB / 1.214 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.808e-05/0.3123, allocations: 4 kB / 1.214 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001793/0.3125, allocations: 153.7 kB / 1.214 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.603e-05/0.3126, allocations: 18.58 kB / 1.214 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.259e-05/0.3126, allocations: 12.92 kB / 1.214 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002734/0.3129, allocations: 105 kB / 1.214 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.3129, allocations: 34.5 kB / 1.214 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 2.755e-06/0.3129, allocations: 7.984 kB / 1.214 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001732/0.3131, allocations: 33.7 kB / 1.214 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.3132, allocations: 55.53 kB / 1.214 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.446e-05/0.3133, allocations: 109.8 kB / 1.214 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.3133, allocations: 25.7 kB / 1.214 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.4e-05/0.3133, allocations: 92.06 kB / 1.214 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.3134, allocations: 3.906 kB / 1.214 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.3134, allocations: 13.72 kB / 1.214 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.3135, allocations: 318.8 kB / 1.215 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.745e-05/0.3136, allocations: 4 kB / 1.215 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.367e-05/0.3136, allocations: 11.94 kB / 1.215 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.183e-05/0.3136, allocations: 8.859 kB / 1.215 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3136, allocations: 0 / 1.215 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.396e-05/0.3137, allocations: 45.62 kB / 1.215 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.3137, allocations: 8 kB / 1.215 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3137, allocations: 0 / 1.215 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.3137, allocations: 0 / 1.215 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.606e-05/0.3138, allocations: 4 kB / 1.215 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3138, allocations: 0 / 1.215 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.937e-05/0.3138, allocations: 4.094 kB / 1.215 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.3138, allocations: 0 / 1.215 GB, free: 2.441 MB / 0.9669 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 6.939e-05/0.3139, allocations: 109.8 kB / 1.215 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.3139, allocations: 15.78 kB / 1.215 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.3141, allocations: 52.75 kB / 1.215 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3141, allocations: 0 / 1.215 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3141, allocations: 256 / 1.215 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3141, allocations: 0 / 1.215 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.826e-05/0.3142, allocations: 157.7 kB / 1.215 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3142, allocations: 3.938 kB / 1.215 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.487e-05/0.3142, allocations: 4 kB / 1.215 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3142, allocations: 0 / 1.215 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.3142, allocations: 0 / 1.215 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.3142, allocations: 3.984 kB / 1.215 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3143, allocations: 0 / 1.215 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.108e-05/0.3143, allocations: 69.08 kB / 1.215 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.499e-05/0.3144, allocations: 89.06 kB / 1.215 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.3144, allocations: 4 kB / 1.215 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.573e-05/0.3144, allocations: 0 / 1.215 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.317e-05/0.3145, allocations: 0 / 1.215 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.3145, allocations: 3.938 kB / 1.215 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.779e-05/0.3145, allocations: 79.28 kB / 1.215 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3145, allocations: 0 / 1.215 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000229/0.3147, allocations: 35.92 kB / 1.215 GB, free: 1.723 MB / 0.9669 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.0004338/0.3152, allocations: 0.6318 MB / 1.216 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.826e-05/0.3153, allocations: 8 kB / 1.216 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3153, allocations: 0 / 1.216 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.152e-05/0.3153, allocations: 12 kB / 1.216 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.3155, allocations: 9.484 kB / 1.216 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004138/0.316, allocations: 165.6 kB / 1.216 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.3162, allocations: 0.6768 MB / 1.217 GB, free: 132 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.896e-05/0.3163, allocations: 4 kB / 1.217 GB, free: 128 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.805e-05/0.3163, allocations: 7.438 kB / 1.217 GB, free: 120 kB / 0.9669 GB Notification: Performance of SimCode: time 2.7e-07/0.3163, allocations: 0 / 1.217 GB, free: 120 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01734/0.3336, allocations: 1.677 MB / 1.218 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.203/7.537, allocations: 4.375 kB / 1.218 GB, free: 14.58 MB / 0.9825 GB (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 --timeout=50 --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) 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) Reference file matches