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.001776/0.001776, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002362/0.002362, allocations: 213.5 kB / 22.24 MB, free: 5.242 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.449/1.449, allocations: 230.6 MB / 256 MB, free: 7.793 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 3.195/3.195, allocations: 0.5107 GB / 0.8158 GB, free: 17.75 MB / 0.6231 GB " [Timeout remaining time 176] 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="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"}) [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.002106/0.002106, allocations: 70.89 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3815, allocations: 181.9 MB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.00303/0.3845, allocations: 1.31 MB / 1.365 GB, free: 12.69 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005559/0.3901, allocations: 3.527 MB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.969e-05/0.3901, allocations: 0 / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.491e-05/0.3902, allocations: 11.92 kB / 1.368 GB, free: 9.129 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006341/0.3908, allocations: 99.44 kB / 1.368 GB, free: 9.031 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004651/0.3913, allocations: 150 kB / 1.368 GB, free: 8.887 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.039e-05/0.3913, allocations: 19.94 kB / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.615e-05/0.3914, allocations: 3.984 kB / 1.368 GB, free: 8.863 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.3915, allocations: 31.84 kB / 1.368 GB, free: 8.832 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.3916, allocations: 35.91 kB / 1.368 GB, free: 8.797 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.3916, allocations: 0 / 1.368 GB, free: 8.797 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005481/0.3922, allocations: 299.6 kB / 1.369 GB, free: 8.504 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.3922, allocations: 0 / 1.369 GB, free: 8.504 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.214e-05/0.3922, allocations: 7.938 kB / 1.369 GB, free: 8.496 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002705/0.3925, allocations: 127.8 kB / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3925, allocations: 0 / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3925, allocations: 0 / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.3925, allocations: 4 kB / 1.369 GB, free: 8.367 MB / 1.061 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.0004803/0.393, allocations: 282 kB / 1.369 GB, free: 8.062 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/0.3931, allocations: 11.97 kB / 1.369 GB, free: 8.051 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.875e-05/0.3931, allocations: 30.75 kB / 1.369 GB, free: 8.012 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.3931, allocations: 4.938 kB / 1.369 GB, free: 8.008 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.3933, allocations: 110.5 kB / 1.369 GB, free: 7.875 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.3933, allocations: 384 / 1.369 GB, free: 7.875 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.3933, allocations: 4.375 kB / 1.369 GB, free: 7.871 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.3934, allocations: 33.64 kB / 1.369 GB, free: 7.832 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3934, allocations: 4 kB / 1.369 GB, free: 7.828 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.3934, allocations: 0 / 1.369 GB, free: 7.828 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3934, allocations: 0 / 1.369 GB, free: 7.828 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.901e-05/0.3935, allocations: 8 kB / 1.369 GB, free: 7.82 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001938/0.3936, allocations: 124.8 kB / 1.369 GB, free: 7.656 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.88e-05/0.3937, allocations: 26.52 kB / 1.369 GB, free: 7.621 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.963e-05/0.3937, allocations: 12.92 kB / 1.37 GB, free: 7.605 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002246/0.394, allocations: 27.91 kB / 1.37 GB, free: 7.578 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.394, allocations: 30.56 kB / 1.37 GB, free: 7.539 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.394, allocations: 3.938 kB / 1.37 GB, free: 7.535 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001668/0.3942, allocations: 49.59 kB / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.3942, allocations: 51.41 kB / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.532e-05/0.3943, allocations: 105.8 kB / 1.37 GB, free: 7.305 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.3943, allocations: 29.83 kB / 1.37 GB, free: 7.27 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.3944, allocations: 80.14 kB / 1.37 GB, free: 7.188 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.3944, allocations: 3.953 kB / 1.37 GB, free: 7.184 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.3944, allocations: 17.72 kB / 1.37 GB, free: 7.16 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3946, allocations: 314.8 kB / 1.37 GB, free: 6.844 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.601e-05/0.3946, allocations: 4 kB / 1.37 GB, free: 6.84 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.055e-05/0.3946, allocations: 3.938 kB / 1.37 GB, free: 6.836 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.92e-05/0.3947, allocations: 16.86 kB / 1.37 GB, free: 6.816 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3947, allocations: 0 / 1.37 GB, free: 6.816 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.713e-05/0.3947, allocations: 45.64 kB / 1.37 GB, free: 6.766 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.3948, allocations: 11.98 kB / 1.37 GB, free: 6.754 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3948, allocations: 0 / 1.37 GB, free: 6.754 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.3948, allocations: 0 / 1.37 GB, free: 6.754 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.487e-05/0.3948, allocations: 4 kB / 1.37 GB, free: 6.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3948, allocations: 0 / 1.37 GB, free: 6.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.744e-05/0.3949, allocations: 0 / 1.37 GB, free: 6.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-06/0.3949, allocations: 0 / 1.37 GB, free: 6.75 MB / 1.061 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.36e-05/0.395, allocations: 114.9 kB / 1.37 GB, free: 6.629 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.395, allocations: 3.938 kB / 1.37 GB, free: 6.625 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.3951, allocations: 53.03 kB / 1.37 GB, free: 6.57 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3951, allocations: 0 / 1.37 GB, free: 6.57 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3951, allocations: 3.938 kB / 1.37 GB, free: 6.566 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3951, allocations: 0 / 1.37 GB, free: 6.566 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.3952, allocations: 132.6 kB / 1.371 GB, free: 6.395 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3952, allocations: 3.938 kB / 1.371 GB, free: 6.391 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.594e-05/0.3953, allocations: 4 kB / 1.371 GB, free: 6.387 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3953, allocations: 0 / 1.371 GB, free: 6.387 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.3953, allocations: 0 / 1.371 GB, free: 6.387 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.3953, allocations: 4 kB / 1.371 GB, free: 6.383 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3953, allocations: 4.281 kB / 1.371 GB, free: 6.379 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.124e-05/0.3954, allocations: 61.12 kB / 1.371 GB, free: 6.301 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.134e-05/0.3954, allocations: 11.88 kB / 1.371 GB, free: 6.289 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.3954, allocations: 4 kB / 1.371 GB, free: 6.285 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.426e-05/0.3954, allocations: 0 / 1.371 GB, free: 6.285 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.904e-05/0.3954, allocations: 7.984 kB / 1.371 GB, free: 6.277 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.3954, allocations: 0 / 1.371 GB, free: 6.277 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.858e-05/0.3955, allocations: 83.28 kB / 1.371 GB, free: 6.195 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3955, allocations: 0 / 1.371 GB, free: 6.195 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002085/0.3957, allocations: 23.88 kB / 1.371 GB, free: 6.172 MB / 1.061 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.0005087/0.3962, allocations: 0.6396 MB / 1.371 GB, free: 5.5 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.031e-05/0.3963, allocations: 12 kB / 1.371 GB, free: 5.488 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3963, allocations: 3.938 kB / 1.371 GB, free: 5.484 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.8e-05/0.3963, allocations: 7.938 kB / 1.371 GB, free: 5.477 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.3966, allocations: 1.125 kB / 1.371 GB, free: 5.477 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000467/0.397, allocations: 169.9 kB / 1.372 GB, free: 5.27 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.948e-05/0.3971, allocations: 71.27 kB / 1.372 GB, free: 5.18 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.823e-05/0.3971, allocations: 7.906 kB / 1.372 GB, free: 5.172 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.3971, allocations: 11.44 kB / 1.372 GB, free: 5.16 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.3971, allocations: 4 kB / 1.372 GB, free: 5.156 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03102/0.4282, allocations: 2.146 MB / 1.374 GB, free: 3.148 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/11.04, allocations: 14.17 kB / 1.374 GB, free: 3.137 MB / 1.061 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.800572449807078]